Commit Graph

41608 Commits (14d4a9a69d73bba018f5ffe0f56824f6f98cdef9)

Author SHA1 Message Date
epenet 14d4a9a69d
Use DhcpServiceInfo in isy994 (#59982)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:14:25 -06:00
epenet 982f2065c8
Use ZeroconfServiceInfo in homekit_controller (#59979)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:13:56 -06:00
epenet d6c5aaa0cb
Use ServiceInfo in hunterdouglas_powerview (#59981)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:12:31 -06:00
Erik Montnemery c557da028a
Bump entity_registry store version to 1.2 (#59912)
* Bump entity_registry store version to 1.2

* Migrate also when importing yaml

* Adjust tests

* Satisfy pylint

* Fix typing
2021-11-19 14:25:34 +01:00
epenet 45d41e584f
Use DhcpServiceInfo in dhcp tests (#59962)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:49:28 +01:00
epenet f17d58a049
Use DhcpServiceInfo in emonitor (#59965)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:48:51 +01:00
epenet cb306236f2
Use DhcpServiceInfo in flux_led (#59967)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:37:59 +01:00
Franck Nijhof a51f2a433f
Upgrade pyatmo to 6.2.0 (#59975) 2021-11-19 12:36:25 +01:00
epenet 59547289b4
Use DhcpServiceInfo in broadlink (#59961)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:29:20 +01:00
epenet 2aa8c2cf74
Use DhcpServiceInfo in gogogate2 (#59968)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:19:37 +01:00
epenet e7013f468c
Use DhcpServiceInfo in goalzero tests (#59969)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:18:56 +01:00
epenet 01fea8bbdd
Use DhcpServiceInfo in guardian tests (#59970)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:18:32 +01:00
epenet e23cc3ecbf
Optimise use of ZeroconfServiceInfo (#59966)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:17:49 +01:00
rianadon ecf00a1eae
Add accumulated precipitation to unit system (#59657)
* Add accumulated precipitation to unit system

* Fix template test

* Fix typo of testing pressure instead of precipitation

* Add extra arguments so unit system test passes
2021-11-19 09:18:44 +01:00
deftdawg b8ec0825d3
Add energy support to Neurio_Energy (#54445)
* - Patch Neurio_Energy to support new HA energy

Enables the Neurio Energy Meter as a Consumption device for Home Assistant Energy

* Only return last_reset value for DEVICE_CLASS_ENERGY

* Update homeassistant/components/neurio_energy/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update with recommendations from CI/Black

* Support new style typing

* Attempt setting the state_class statically

* Make state class static

* Changing state class to STATE_CLASS_TOTAL_INCREASING and removing last_reset seems to work ok

* Remove unused datetime import that was previously in last_reset

* Apply suggestions from code review

apply emontnemery's recommended changes

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-19 09:16:08 +01:00
J. Nick Koston 2f00f8d3de
Prevent executor overload when starting many homekit instances (#59950) 2021-11-18 22:39:49 -08:00
Franck Nijhof 073bf6d6fd
Use native datetime value inMobile App sensors (#59945) 2021-11-18 22:36:28 -08:00
Franck Nijhof f7b7786d0d
Use native datetime value in UniFi sensors (#59926) 2021-11-19 07:35:09 +01:00
Daniel Hjelseth Høyer a3d5aec778
Mill local access (#59549)
* Mill local

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill local

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Mill local

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/mill/config_flow.py

Co-authored-by: Allen Porter <allen@thebends.org>

* Update homeassistant/components/mill/config_flow.py

Co-authored-by: Allen Porter <allen@thebends.org>

* Update homeassistant/components/mill/config_flow.py

Co-authored-by: Allen Porter <allen@thebends.org>

* Fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* coveragerc

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Fix review comments

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

Co-authored-by: Allen Porter <allen@thebends.org>
2021-11-18 21:44:45 -08:00
Nathan Spencer 406cbcfe2d
Use an assumed switch state until refresh callback is complete (#59805) 2021-11-18 21:29:38 -08:00
Aaron Bach ff21453f58
Migrate appropriate Ridwell sensors to use datetime state objects (#59944)
* Migrate appropriate Ridwell sensors to use datetime state objects

* Linting

* Whoops
2021-11-18 22:24:12 -07:00
J. Nick Koston 347c4ea137
Bump zeroconf to 0.37.0 (#59932) 2021-11-18 20:23:20 -08:00
Robin Dupont 4598353315
Add apparent_power for ZHA ElectricalMeasurement (#59857)
* Add apparent_power for ZHA ElectricalMeasurement

* Add apparent_power to REPORT_CONFIG

* update device list with apparent_power attribute

* update test decorators for apparent_power

* remove comments

* Add test for apparent_power in test_sensor
2021-11-18 19:43:08 -05:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
Paulus Schoutsen 442597928e
Store: copy pending data (#59934) 2021-11-18 15:56:22 -08:00
J. Nick Koston 0fb21af07f
Strip out deleted entities when configuring homekit (#59844) 2021-11-18 15:21:51 -08:00
Franck Nijhof 8fb84270d5
Fix Tuya back scaling in Climate and Humidifer entities (#59909) 2021-11-18 15:21:27 -08:00
Paul Frank a3139595bb
Remove zwave_js cover workaround (#59939) 2021-11-18 23:04:21 +01:00
Eduard van Valkenburg 958c199d80
Brunt package update with async, data update coordinator and config flow (#49714)
* implemented config_flow and dataupdatecoordinator

* implemented config flow, dataupdatecoordinator and tests.

* undid extra vscode task

* fixed pylint errors

* updates based on review

* fix mypy in reauth

* fast interval to 5 sec

* fixed test patches and others from review

* added released package

* deleted wrong line from coveragerc

* updates to config and tests

* fixed test patch
2021-11-18 23:00:42 +01:00
starkillerOG 05eb2f3e5c
Yeelight add state check to set_mode service (#59884) 2021-11-18 15:52:57 -06:00
Franck Nijhof 1ecd9c9459
Use native datetime value in OctoPrint sensors (#59927) 2021-11-18 22:42:21 +01:00
Franck Nijhof 8a0c5aa50b
Use native datetime value in RDW sensors (#59914) 2021-11-18 20:07:38 +01:00
Franck Nijhof 5593dd4006
Use native datetime value in WLED sensors (#59907) 2021-11-18 20:03:40 +01:00
Franck Nijhof fc29611935
Use native datetime value in Uptime sensors (#59916) 2021-11-18 20:03:30 +01:00
Franck Nijhof 4e4f6ffa07
Use native datetime value in Jewish Calendar sensors (#59917) 2021-11-18 20:03:16 +01:00
Franck Nijhof 3adb9e4143
Use native datetime value in Tasmota sensors (#59915) 2021-11-18 20:03:04 +01:00
Franck Nijhof fc330f797d
Use native datetime value in Forecast Solar sensors (#59913) 2021-11-18 19:58:31 +01:00
epenet 9ccee205ca
Use ZeroconfServiceInfo in gogogate2 (#59746)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-18 12:14:00 -06:00
J. Nick Koston f751d6e064
Add additional bulb ouis to flux_led (#59868) 2021-11-18 11:45:38 -05:00
Franck Nijhof 24f3fd35c9
Fix shorthand native value type in sensor entity component (#59908) 2021-11-18 17:37:52 +01:00
Erik Montnemery d18c250acf
Add minor version support to storage.Store (#59882) 2021-11-18 17:15:40 +01:00
J. Nick Koston cc3f179796
Ensure powerview setup is retried on 502 error (#59847) 2021-11-18 09:57:31 -06:00
PlusPlus-ua a211b8ca8f
Bugfix in Tuya Number value scaling (#59903) 2021-11-18 16:53:34 +01:00
epenet 329904dfbb
Add type hints to SSDP (#59840) 2021-11-18 09:49:36 -06:00
epenet 28ff1b9d9e
Use native date value in Renault sensors (#59900)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-18 16:15:54 +01:00
rianadon 7cc7bbb76d
Add speed to units system (#58437)
* Use speed units in unit system

* Use more obvious conversion factor for unit system speed test

* Use wind_speed instead of speed, use m/s
2021-11-18 16:08:42 +01:00
Ullrich Neiss 3dc0b9537c
Move Kostal Plenticore writable settings from sensor to select widget or switch (#56529)
* Move "Battery:SmartBatteryControl:Enable" from a simple sensor to a switch
Add "Battery:TimeControl:Enable" as a switch

If you want to change charging behavior you need to turn off both switches, before you can enable the function you want. (Same as on Plenticore UI)

* removed:
    @property
    def assumed_state(self) -> bool

was copied from an switchbot integration, does not make sense or does deliver valuable information

Tried to set constant properties in the constructor

* correct typo, add new line at eof

* Initial state of switch was missing after (re)starting HA. Now working.

* Reformatted with black

* correct syntax errors from test run 09.10.2021

* reformat

* update 15.10.2021

* Set select value is working

* update 05.11.2021

* data correctly received

* working completly

* remove old switch definitions, now replaced by select widget

* correct complaints from workflow run on 11/11/2021

* Add explanatory comment for switch and select

* Correct comments

* Removed function async def async_read_data(self, module_id: str, data_id: str)
from class SettingDataUpdateCoordinator

* Add Mixin class for read/write

* try to make select.py less "stale"

* new dev environment 2

* new dev environment 2

* correct syntax

* minor coding standard correction

* Remove BOM

* Remove BOM on select.py

* Updated .coveragerc
2021-11-18 16:06:32 +01:00
Franck Nijhof 5e07bc38c1
Use native date value in Twente Milieu sensors (#59897) 2021-11-18 15:32:50 +01:00
Franck Nijhof 4a83ee5dab
Use native datetime value in ESPHome sensors (#59896) 2021-11-18 15:32:39 +01:00
bwduncan ec6a67d17a
Use correct Nissan leaf device_class (#59889) 2021-11-18 15:23:57 +01:00