* Force root import of references from other components
* Improve
* Adjust
* Tweak exceptions
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Another
* Adjust
* More
* Ignore violations in test
* Improve
* if the derivative is negative, ignore it
* add option to ignore the negatives or not
* add tests for a new ignore negative derivative
* add missing description when editing
* rename to ignore_negative_derivative
to increase clarity of which negative I mean
in case in the future we want a ignore_negative_value...
* use state_class=total_increasing to ignore the negative derivative
* remove ignore negative from the config
* add test for total_increasing_reset case
* add comments
* update test_total_increasing_reset with history tests
Also remove the last comment because the test is already clear
My existing comment there isn't unique to this unit test but applies to the entire component. The existing web documentation pointing to Wikipedia should suffice.
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix default names for cover entities
* Drop component index if only one component exists
* Improve doc strings
* Use more consistent naming
* Typo
* Revert removing index 0 from entity names
* Improve names for RGB(W) lights
* Added additional sensor to Weheat
* Added tests for old and new sensors
* Added energy sensor
* Changed tests to use snapshot
* Removed unused value and regenerated the ambr
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* changed DHW sensor creation
* Wrapped lambda function
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add acknowledge flag to config_entry
* Add acknowledge option to lcn configuration
* Fix tests
* Bump pypck to 0.7.23
* Add entry fixture for config_entry version 1.1 to test migration
* Add data_description to strings.json
* Create versioned config_entry in tests
* Squeezebox media_player platform tests
* Fix play-pause test
* Squeezebox remove stray reference to deprecated property
* More tests for squeezebox
* Update tests to fix merge conflict with binary_sensor
* Refactor tests to use autospec
* Use freeze and snapshot
* Update media player entity before adding
* Consolidate test fixtures for different platforms
* Merge in sensor platform
* Use deepcopy
* Update tests with suggestions from code review
* fadd cover entity and device with mocked commands
* add cover features and update its open percentage
* execute command to the cloud instead of mocking change of shutter state
* test iotty cover commands and insertion
* fix post payload
* refactor introducing common entity from which cover and switch inherit
* move more properties to base class
* use explicit values instead of snapshots
* move iotty device initialization to base entity
* move device info from property to attribute
* 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>