Per ADR-0010, this PR deprecates YAML configuration for Solar-log. Users who already use the Solar-log integration do not need to take action, as their configuration has already been imported into the UI.
* Upgrade discord.py to 1.5.1
discord.py 1.5.1 introduces support for Intents that are required by future bots and integrations. While this is not yet required by Home Assistant Discord integration it is needed in the future, because old API which discord.py 1.4.1 uses is now deprecated. Also it would solve dependency collision with my custom component discord_game.
* Upgrade discord.py to 1.5.1
The Zigbee specification mandates that temperatures are given in
1/100ths of degrees, and several devices are able to provide temperature
readings or accept target temperature settings with precision equal or
better than 0.1°C. Yet the ZHA climate entity implementation advertises
an hard-coded precision of 0.5°C.
Avoid arbitrary coarsening by advertising 0.1°C precision, as passing
through the full 0.01°C precision is probably not that useful.
* Switch to plugwise module and forthcoming changes
* Adjusted according to review
* Fix leaving out domain for tests
* Add tests for exceptions
* Add more tests for exceptions
* Version bump
* Wording on test
* Catch-up with dev
* Add new air-humidifier device CA4 with miot protocol
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Teemu R. <tpr@iki.fi>
* xiomi_miio fan Standard speed for fan, removed static attributes
* xiomi_miio fan Standard speed for fan, removed static attributes
* xiomi_miio fan unnessary elif
* added mode_mapping
* Changed mode_mapping to constant also move reverse to constant
* Removerd water_level
* Return to exclude breaking changes
Co-authored-by: Teemu R. <tpr@iki.fi>
* Add twinkly integration
* Add tests for the Twinkly integration
* Update Twinkly client package to fix typo
* Remove support of configuration.yaml from Twinkly integration
* Add ability to unload Twinkly component from the UI
* Remove dead code from Twinkly
* Fix invalid error namespace in Twinkly for python 3.7
* Fix tests failing on CI
* Workaround code analysis issue
* Move twinkly client init out of entry setup so it can be re-used between entries
* Test the twinkly component initialization
* React to PR review and add few more tests
* Refactor ZHA sensors to use cached values after restart
* Get attr from cluster, not channel
* Run cached state through formatter method
* Use cached values for div/multiplier for SmartEnergy channel
* Restore batter voltage from cache
* Refactor sensor to use cached values only
* Update tests
* Add battery sensor test
* Set command only cover
* No need for override position now that we support command only
* Return empty state response for assumed state
Fixes#43178
Reverts: #23498
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Notifications extract from beta
* Remove info loggings
* Delete notification service
* Only notifications for right smiles
* Revert to correct logic
* Catchup with dev (mostly with ourselves from #41201)
* Remove debug logging
* Naming improvement
* Improve test quality as per codecov patch requirement
* Revert to original condition (and appropriately test)
* Fix delete_notification_service, bring tests fixtures up to 1.6.0 including notifications
* Review comment (@bouwew)
* Correct test value
* Re-apply #40108 fix after rebase sidestep
* Update tests/components/plugwise/test_init.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Add needed state to imports
* Remove separate gw unload code
* Change entry_fail approach
* Revert persistent notification part
* Revert persistent notification part - lint
* Update homeassistant/components/plugwise/binary_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/plugwise/binary_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Rework reuse of sensor in binary_sensor
* Explicit state attribute keys
* Remove tempfile
* List of notifications per severity
* Update homeassistant/components/plugwise/binary_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Remove unnecessary pts adjustments
* Add comments
* Use -inf for initial last_dts to be more clear
* Use video first_pts as common adjuster in recorder
* Remove seek(0) before av.open
* apply suggestions from #42697
* fix tests
* use MockConfigEntry for test
* use hass.config_entries.async_setup()
* disable default fixture
* rename marker to no_bypass_setup