Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency bumps #12

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ Welcome to `@digital-alchemy/automation`!

This project builds on the utilities provided by `@digital-alchemy/hass` & `@digital-alchemy/synapse` to create home automation focused utilities for easily coordinating entities.

- [Extended docs](https://docs.digital-alchemy.app/Automation)
- [Extended docs](https://docs.digital-alchemy.app)
- [Discord](https://discord.gg/JkZ35Gv97Y)

## 💾 Install

You can install the custom component through HACS. See the repo for more detailed install instructions of the component: https://github.com/Digital-Alchemy-TS/synapse-extension

This library can be installed as a simple dependency

```bash
npm i @digital-alchemy/automation @digital-alchemy/synapse @digital-alchemy/hass
```
Expand All @@ -22,10 +23,11 @@ Then added to your project
import { LIB_AUTOMATION } from "@digital-alchemy/automation";
import { LIB_HASS } from "@digital-alchemy/hass";
import { LIB_SYNAPSE } from "@digital-alchemy/synapse";
import { LIB_FASTIFY } from "@digital-alchemy/fastify-extension";

// application
const MY_APP = CreateApplication({
libraries: [LIB_HASS, LIB_SYNAPSE, LIB_AUTOMATION],
libraries: [LIB_HASS, LIB_SYNAPSE, LIB_AUTOMATION, LIB_FASTIFY],
name: "home_automation",
})

Expand All @@ -37,9 +39,11 @@ export const MY_LIBRARY = CreateLibrary({
```

## 🛠️ Utilities

### 🏠 Rooms w/ coordinated scenes

Create rooms, with the ability to coordinate sets of entities together in scenes.

```typescript
import { CronExpression, TServiceParams } from "@digital-alchemy/core";

Expand Down
82 changes: 41 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@digital-alchemy/automation",
"repository": "https://github.com/Digital-Alchemy-TS/automation",
"homepage": "https://docs.digital-alchemy.app/Automation",
"version": "0.3.10",
"version": "24.06.1",
"scripts": {
"build": "rm -rf dist/; tsc",
"lint": "eslint src",
Expand All @@ -25,9 +25,9 @@
},
"license": "MIT",
"dependencies": {
"@digital-alchemy/core": "^0.3.17",
"@digital-alchemy/hass": "^0.3.31",
"@digital-alchemy/synapse": "^0.3.8",
"@digital-alchemy/core": "^24.6.1",
"@digital-alchemy/hass": "^24.6.2",
"@digital-alchemy/synapse": "^24.6.1",
"dayjs": "^1.11.10",
"prom-client": "^15.1.1"
},
Expand Down
Loading