hass
hass copied to clipboard
Typescript APIs for Home Assistant. Includes rest & websocket bindings
Bumps the minor-patch-dependencies group with 8 updates: | Package | From | To | | --- | --- | --- | | [@eslint/eslintrc](https://github.com/eslint/eslintrc) | `3.3.1` | `3.3.3` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)...
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. Release notes Sourced from actions/checkout's releases. v6.0.0 What's Changed Update README to include Node.js 24 support details and requirements by @salmanmkc in actions/checkout#2248 Persist...
Bumps the npm_and_yarn group with 3 updates in the / directory: [glob](https://github.com/isaacs/node-glob), [js-yaml](https://github.com/nodeca/js-yaml) and [tar](https://github.com/isaacs/node-tar). Updates `glob` from 10.4.5 to 10.5.0 Commits 56774ef 10.5.0 1e4e297 bin: Do not expose filenames...
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6. Release notes Sourced from actions/setup-node's releases. v6.0.0 What's Changed Breaking Changes Limit automatic caching to npm, update workflows and documentation by @priyagupta108 in actions/setup-node#1374...
entities that are disabled are currently listed in `HassUniqueIdMapping` when `FILTER_DISABLED_ENTITIES_ID_BY` is true.
## 🪤 Context Add an oauth login support ## 🩻 Additional details https://github.com/home-assistant/home-assistant-js-websocket/blob/master/lib/auth.ts#L240 example implementation
## 🪤 Context Unclear on if a `hass.socket.subscribe` should be done, and the implications of putting it in different spots: - root - lifecycle event - onConnect Ideally these should...
## 🪤 Context Want to move `ws` to an optional dependency (required for node20) https://nodejs.org/docs/latest/api/http.html#websocket ## 📬 Caveats Emphasis on non-breaking changes for this, there's no major benefit to force...
**Bug description** ```typescript const houseCO2Sensors = hass.refBy.label('house_co2_sensors') const sensor = hass.refBy.id('some_house_sensor') if (houseCO2Sensors.includes(sensor)) { ``` ``` Argument of type 'ByIdProxy' is not assignable to parameter of type 'ByIdProxy
**Context** The `automation.managed_switch` workflow is very useful, being able to take a callback and list of entities to react to, then turning that into service calls. ```typescript automation.managed_switch({ context, entity_id:...