mirror of
https://github.com/elisspace/core.git
synced 2026-09-01 17:04:05 +00:00
74cfbf5f429af025ba673c1d13c85bae4b506b59
* 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 85dcbc0903a1dd95f8e4e5f3c5d29cd7547b667b. * 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>
…
…
Home Assistant |Chat Status| ================================================================================= Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Check out `home-assistant.io <https://home-assistant.io>`__ for `a demo <https://home-assistant.io/demo/>`__, `installation instructions <https://home-assistant.io/getting-started/>`__, `tutorials <https://home-assistant.io/getting-started/automation/>`__ and `documentation <https://home-assistant.io/docs/>`__. |screenshot-states| Featured integrations --------------------- |screenshot-components| The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/architecture_index/>`__ and the `section on creating your own components <https://developers.home-assistant.io/docs/creating_component_index/>`__. If you run into issues while using Home Assistant or during development of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information. .. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg :target: https://discord.gg/c5DvZ4e .. |screenshot-states| image:: https://raw.github.com/home-assistant/home-assistant/master/docs/screenshots.png :target: https://home-assistant.io/demo/ .. |screenshot-components| image:: https://raw.github.com/home-assistant/home-assistant/dev/docs/screenshot-components.png :target: https://home-assistant.io/integrations/
Description
Languages
Python
100%