* Move entity category to class
* improve type hints
* Regenerate sensor snapshots to remove some invalid entries
* Add info sensors that display various device settings/modes
* Add strings for info sensors
* Update sensor snapshot with new sensors
* Use StateType
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Use icon translations
* statetype
* drop ip sensor
* Lookup enum values before translating
* entities use options
* update options strings
strings
* lookup values from options
* update sensor snapshot
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add reauth flow to Nice G.O.
* Remove unnecessary freezer use
* Tweaks
* Remove re-raise
* Tiny typing tweak
* Remove if in test
* Remove overlaying old data
* Don't touch title once done
* Z-Wave JS: Use start/stop level change to open/close Window Covering CC covers
* fix: import
* Update tests/components/zwave_js/test_cover.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* assert that up_value and down_value exist
* fix: forgot one
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* test driven delevopment
* test driven development - multi numeric state
* better multi-state processing
* when state==below return true
* adds test for a bad state
* improve codecov
* value error already handled in async_numeric_state
* remove whitespace
* remove async_get
* linting
* test_driven dev for error handling
* make tests fail correctly
* ensure tests fail correctly
* prevent bad numeric entries
* ensure no overlapping ranges
* fix tests, as error caught in validation
* remove redundant er call
* remove reddundant arg
* improves code coverage
* filter for numeric states before testing overlap
* adress code review
* skip non numeric configs but continue
* wait to avoid race condition
* Better tuples name and better guard clause
* better test description
* more accurate description
* Add comments to calculations
* using typing not collections as per ruff
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* follow on from suggestions
* Lazy evaluation
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* update error text in tests
* fix broken tests
* move validation function call
* fixes return type of above_greater_than_below.
* improves codecov
* fixes validation
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Addition of hub device
* coordinator udata updated after a hub action
* Unit tests update
* Unit tests improvements
* addition of tests on select and switch platforms
* wording
* Removal of select platform for PR containing only one platform
* Remove hub to maintain only the refactoring that prepare the hub device addition
* Review corrections
* wording
* Review corrections
* Review corrections
* Review corrections
* Add media player tests to Cambridge Audio
* Add media player tests to Cambridge Audio
* Remove unnecessary test case
* Move state_update call out of mock
* Update tests/components/cambridge_audio/test_media_player.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add a new optional "data" key when defining time ranges for the schedule component that exposes the provided data in the state attributes of the schedule entity when that time range is active
* Exclude all schedule entry custom data attributes from the recorder (with tests)
* Fix setting schedule attributes to exclude from recorder, update test to verify the attributes exist but are not recorded
* Fix test to ensure schedule data attributes are not recorded
* Use vol.Any in place of vol.Or
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Remove schedule block custom data shorthand
as requested in https://github.com/home-assistant/core/pull/116585#pullrequestreview-2280260436
* Update homeassistant/components/schedule/__init__.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Implement time triggers with offset for timestamp sensors
* Fix bad change
* Add testcase for multiple conf_at with offsets
* Fix fixture rename
* Fix testcase - if no offset provided, it should be just the string of the entity id
* Get test to pass
* Simplify code
* Update the messaging and make the offset optional allowing specifying only the entity_id
* Move state tracking one level up
* Implement requesteed changes