-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `golbal` -> `global` * Allow providing event name as context * Offload on/off state computation to Core * Use a separate event for `LevelChangeEvent` * Do not set OTA entity state now that we do not compute it * Stop OTA when we fail * Set up public accessors for `name` and `translation_key` * Add icon and entity category as well * Add a translation key to the `identify` button * Revert "Add a translation key to the `identify` button" This reverts commit 2745306. * Drop all simple icons, HA already uses icon translations * Drop `icon` entirely * Clarify `type: ignore`s The `if self.is_transitioning` check at the top of the function "pins" the value during the execution context in mypy's eyes. There doesn't seem to be a way to force mypy to consider the property "`volatile`". * Add public accessors for device and state class * Use parentheses for clarity * Consolidate `get_entity` into `tests.common` * Unwind stack frames to log correctly in ZCL handlers * Fix cover level change event * Bump ruff and run `ruff-format` during pre-commit * Log when emitting a ZHA event * Re-add `--fix` * Fix most unit tests * Fix `update` platform tests * Fix entity ID in counter unit test * Consolidate entity information into `info_object` * Rename `name` to `fallback_name` to clarify intent The name should be localized * Drop `internal_name` as well * Attach `unique_id` to `Device` * Compute the final `entity_id` only in `BaseEntity` * Fix unit tests * Include the device unique ID in the counter unique ID * Ignore `_attr_translation_key` on counters * Expose `entity_registry_enabled_default` * Correctly construct counter unique IDs * Mark `entity_id` for removal * Get rid of `entity_id` * Handle some TODOs * Update dependencies * Drop unused dependencies
- Loading branch information
Showing
42 changed files
with
705 additions
and
1,383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.