Commit graph

7933 commits

Author SHA1 Message Date
Michael
2b2cddb5f0
Extract smartthings switch energy attributes into sensors () 2021-07-29 21:50:02 -07:00
Robert Svensson
edf0e0bd08
Add energy device class to deCONZ consumption sensors () 2021-07-29 16:16:08 -07:00
Martin Hjelmare
6d30e596ca
Fix zwave_js current and voltage meter sensor device class () 2021-07-29 14:26:57 -07:00
Paulus Schoutsen
6b7a4d2d3c
Revert "Allow uploading large snapshots ()" ()
This reverts commit cdce14d63d.
2021-07-29 14:26:05 -07:00
Martin Hjelmare
3c0e4b1fd9
Fix zwave_js meter sensor state class () 2021-07-29 12:25:43 -07:00
Martin Hjelmare
007ecc51e5
Revert "Add Automate Pulse Hub v2 support ()" () 2021-07-29 11:58:48 -07:00
Michael
2b0b8736f2
Set state class measurement also for Total Energy for AVM Fritz!Smarthome devices () 2021-07-29 11:54:51 -07:00
Daniel Hjelseth Høyer
6590e464af
Integration. Add device class, last_reset, state_class ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-29 20:05:53 +02:00
Michael
bedb9550f5
Move TP-Link power and energy switch attributes to sensors ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-07-29 11:02:47 -07:00
J. Nick Koston
219348d573
Skip each ssdp listener that fails to bind () 2021-07-29 18:07:52 +02:00
Raman Gupta
30cbf03b48
Add energy support for zwave_js meter CC entities ()
* Add energy support for zwave_js meter CC entities

* shrink

* comments

* comments

* comments

* Move attributes

* Add tests

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-29 14:18:38 +02:00
Raman Gupta
1019ee22ff
Add enabled attribute to zwave_js discovery model ()
* Add attribute to zwave_js discovery model

* Fix binary sensor entity enabled logic

* Add tests
2021-07-29 09:30:50 +02:00
Diogo Gomes
a2d66bd1c0
Prosegur code quality improvements () 2021-07-28 22:15:28 -07:00
Stephen Beechen
cdce14d63d
Allow uploading large snapshots ()
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-07-28 22:12:59 -07:00
J. Nick Koston
6eb3307734
Fix invalid homekit state when arming ()
- Maybe fixes 
2021-07-28 16:09:49 -07:00
Raman Gupta
e1c6ccb198
Add zwave_js.reset_meter service ()
* Add zwave_js.meter_reset service

* fix log statement

* Add endpoint attribute to service call and rename service

* Make service an entity service

* remove endpoint from service description
2021-07-28 23:15:27 +02:00
epenet
8d84edd3b7
Add renault integration () 2021-07-28 12:41:11 -07:00
stefano055415
3f7cc176a8
Add climate support to Freedompro ()
* Update Freedompro

* fix code and add test

* add check for unsupported mode

* add code for unsupported hvac_mode

* HVAC_INVERT_MAP and fix test

* change params hass to session

* set const and add ValueError

* fix ValueError text
2021-07-28 19:27:31 +02:00
Matthias Alphart
4e4bb2e5a8
Test KNX events ()
* test knx_event

* use async_capture_events
2021-07-28 19:04:11 +02:00
Bram Kragten
4df56bad9e
Remove currency from energy, use core config ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-28 08:49:55 -07:00
Maciej Bieniek
6d13466f8a
Remove unnecessary init_integration() call in NAM tests () 2021-07-28 11:23:57 +02:00
Allen Porter
d58151034c
Combine some stream test mocks ()
Combine MockFlushPart with the FakePyAvContainer since the container is
effectively a mock AvOutput. This simulates the behavior of the call to
mux and close that actually write to the memory file.
2021-07-28 10:20:51 +02:00
Marc Mueller
10bfc78365
Fix missing encoding with open() ()
* Fix missing encoding with open()

* Fix tests

* Improve open - frontend
2021-07-28 09:41:45 +02:00
Allen Porter
1c20eb3263
Skip 'None' values when restoring climate scenes () 2021-07-28 09:16:23 +02:00
Richard T. Schaefer
9e219d9b6e
Add this variable for use by automation and script templates () 2021-07-28 09:09:13 +02:00
Franck Nijhof
1968b95829
Add currency core configuration ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-28 08:55:58 +02:00
Joakim Sørensen
85c1614204
Add currency to location data () 2021-07-27 21:05:16 -07:00
Marc Mueller
14c257e1b7
Use EntityDescription - melcloud ()
* Use EntityDescription - melcloud

* Fix pylint errors

* Fix test

* Fix coverage exclude comments
2021-07-28 00:07:14 +02:00
Marc Mueller
3908aabc13
Use EntityDescription - climacell ()
* Use EntityDescription - climacell

* Fix tests

* Fix coverage ignore comment
2021-07-27 23:47:29 +02:00
Joakim Sørensen
9806bda272
Rename snapshot -> backup () 2021-07-27 22:43:05 +02:00
Diogo Gomes
7ad7cdad3d
Add Prosegur Alarms ()
Co-authored-by: Franck Nijhof <frenck@frenck.dev>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 22:19:58 +02:00
Paulus Schoutsen
f71980a634
Create stats for all sensors that have % unit and are measurement () 2021-07-27 21:56:34 +02:00
Ron Klinkien
3488053648
Remove garmin_connect integration ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 21:49:49 +02:00
Simone Chemelli
5a6be2370b
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 3 () 2021-07-27 21:19:29 +02:00
Matthew Gottlieb
37c841956f
Allow removing workday holidays by name () 2021-07-27 20:28:04 +02:00
Martin Hjelmare
a133eae88e
Add more mysensors sensor attributes () 2021-07-27 19:48:37 +02:00
Yuxiang Zhu
ce663f629c
Fix various zeroconf IPv6 compatibility issues () 2021-07-27 19:31:51 +02:00
Maciej Bieniek
9607864c29
Bump gios library to version 2.0 ()
* Bump gios library

* Fix pylint error
2021-07-27 19:10:38 +02:00
J. Nick Koston
84a7a5fd32
Split color temp and color into separate HomeKit services when a light supports both () 2021-07-27 10:10:05 -07:00
Allen Porter
022ba31999
Refactor the logic for peeking into the start of the stream ()
* Reset dts validator when container is reset

* Reuse existing dts_validator when disabling audio stream

* Refactor peek logic at the start of a stream

Add a PeekingIterator to support rewinding an iterator so that the code
for adjusting audio streams and start pts can be inlined in the worker.

* Simplification and readability improvements

* Remove unnecessary verbiage from comments and pydoc

* Address pylint errors

* Remove rewind function and just mux the first packet separately

* More cleanup after removing rewind()

* Skip check to self._buffer on every iteration
2021-07-27 08:53:42 -07:00
gjong
9f495fd200
Add initial version for the YouLess integration ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 17:42:15 +02:00
jjlawren
214920f486
Ignore Sonos Boost devices during discovery v2 () 2021-07-27 09:50:46 -05:00
Franck Nijhof
d4d791e0a1
Ensure Jewish Calendar returns an iso formatted timestamp () 2021-07-26 20:23:25 -07:00
Marc Mueller
3e08e50050
Use EntityDescription - nws ()
* Use EntityDescription - nws

* Bugfix

* Bugfix 2
2021-07-27 01:46:01 +02:00
Allen Porter
6376b4be5c
Increase static type coverage for nest integration ()
Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 01:43:52 +02:00
Jc2k
1681bbe5a5
Make sure that vocolinc flowerbud humidity sensor is exposed (via homekit_controller) ()
* Make sure that vocolinc flowerbud humidity sensor is exposed

* Was a no-op to request these from humidifier, so remove them

* Fix typo
2021-07-26 16:11:27 -05:00
Anton Tolchanov
80aaebb761
Rename Prometheus metrics to conform with naming guidelines () 2021-07-26 20:52:30 +02:00
Paulus Schoutsen
962ddf664c
Add country code to co2signal state attributes () 2021-07-26 11:10:39 -07:00
Bram Kragten
fcc6ea7497
Add energy integration ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Erik <erik@montnemery.com>
2021-07-26 09:37:37 -07:00
Raman Gupta
4b189bd8c5
Add zwave_js WS API commands to get statistics ()
* Add zwave_js WS API commands to get statistics

* update function name

* move nested functions to top level functions
2021-07-26 11:59:16 -04:00