* Fix BMW ConnectedDrive, update to My BMW API
* Use const device classes
* Implement native_value via EntityDescription
* Use device class const, reomve device_class from charging_status
* Cleanup
* Remove max_range_electric
* Revert removing sensor name & unique_id
* Add region china again, update bimmer_connected
* Update to bimmer_connected==0.8.2
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
* Added support for ambient temperature sensor for Outdoor Probe.
* Switched to use of SensorEntityDescription for device_class.
* Removed unused config param, restored use of _sensor_type ivar.
* Use entity descriptions as dict for shorter iteration.
* Clean up
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add additional statistics characterics, improve rounding
* Improve name of age_usage_ratio
* Replace difference by three relevant distances
* Refactor attributes, remove stats, add metadata
* Fix binary sensor testcase
* Fix sensor defaults testcase
* Fix and enhance all testcases
* Remove age coverage from attr when not configured
* Refactor so only the relevant characteristic value is calculated
* Rename unclear characteristics, add timebound average
* Fix coverage warning
* Remove explicit functions dict
* Konnected - Fix multiple discovery of panels.
This resolves an issue which creates multiple discoveries of a Konnected panel if it is restarted and fails to connect to home assistant.
See #57467.
* Revert changes to user step, add handling to ssdp step.
* Add abort reason string to strings.json
* Abort ssdp discovery if device is already known.
* Add test for multiple discovery fix.
* Remove unrelated file change.
* Add ssdp discovery abort tests.
* Add missing abort reason check.
* Add "already_configured" to strings.
* Use "cannot_connect" abort reason.
* Use configured speed ranges for HomeSeer FC200+ fan controllers in zwave_js
* Fix pylint errors
* Remove unused param in tests
* Fix test values
* Address various review notes
* Remove now-redundant assertion
* Add an additional test case for set_percentage=0
* Use round() instead of int() for percentage computations; this makes the percentage setting match the setpoints in the UI
* Add additional tests
* Fix pct conversions
* Make conversion tests exhaustive
* Add tests for discovery data templates
* Revert "Add tests for discovery data templates"
This reverts commit 85dcbc0903.
* Improve typing on ConfigurableFanSpeedDataTemplate#resolve_data
* Move config error handling to the discovery data template
* Fix checks for config data
* Revise fallback logic in percentage_to_zwave_speed and ensure that the speed list is non-empty
* Rework error handling
* Fix runtime fan speed updates
* Use warning instead of warn
* Move data validation to get_speed_config; turns out that resolve_data is only called once, at startup.
* Temporarily remove the not-yet-used fixed fan speed template. Add an additional assertion to ensure speeds are sorted.
* Add a comment about the assertions in discovery_data_template.py
* Update homeassistant/components/zwave_js/discovery_data_template.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix typo in comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>