Erik Montnemery
0abcfb42b3
Remove last_reset attribute from FritzBoxEnergySensor ( #54644 )
2021-08-16 23:57:59 +02:00
Jc2k
de0460de61
Add device classes that were part of deprecated air quality entity ( #54075 )
2021-08-16 23:33:28 +02:00
J. Nick Koston
5e51f57f02
Convert nmap_tracker to be a config flow ( #54715 )
2021-08-16 15:19:32 -05:00
ehendrix23
f40c672cd2
Add light platform to MyQ ( #54611 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-16 14:52:53 -05:00
Raman Gupta
a41ee9e870
Create zwave-js select platform and discover additional siren values ( #53018 )
...
* Create zwave-js select platform and add siren values to number and select platforms
* use constants while we wait for lib release
* comments
* rename stuff in tests to prepare for protection CC PR
* Switch to 0-1 range for number entity
* Update homeassistant/components/zwave_js/number.py
Co-authored-by: kpine <keith.pine@gmail.com>
* Change step
* Switch to ToneID
* Better error handling
* Add test for coerage
Co-authored-by: kpine <keith.pine@gmail.com>
2021-08-16 13:36:20 -04:00
Erik Montnemery
35389a6d28
Remove last_reset attribute from dsmr sensors ( #54699 )
2021-08-16 18:35:50 +02:00
Raman Gupta
61ab2b0c60
Use zwave_js.number platform for Basic CC values ( #54512 )
...
* Use zwave_js.number platform for some Basic CC values
* Remove Basic CC sensor discovery schema
* update comment
* update comment
2021-08-16 12:30:52 -04:00
Adam Bogdał
3e93215a1f
Fix event type names for non-specified Traccar events ( #54561 )
...
* Fix event type name
* Extend list of types only when all_events is specified
* Remove flake8 warnings
2021-08-16 15:49:12 +02:00
epenet
a204d7f807
Renault code quality improvements ( #53680 )
2021-08-16 13:49:04 +02:00
Daniel Hjelseth Høyer
d11c58dac8
Improve Tractive ( #54532 )
...
* Tractive, code improve
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Tractive, code improve
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Tractive, code improve
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Update homeassistant/components/tractive/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/tractive/const.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Tractive, comments
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Update homeassistant/components/tractive/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/tractive/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Tractive
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Reauth
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Reauth
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* add tests
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* add tests
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-16 12:56:10 +02:00
epenet
75275254f9
Renault test optimisation ( #53705 )
...
* Cleanup tests
* Use a MockConfigEntry
* Don't set up the integration for duplicate config entry testing
2021-08-16 12:52:58 +02:00
Allen Porter
094f7d38ad
Use buffer at stream start with unsupported audio ( #54672 )
...
Add a test that reproduces the issue where resetting the iterator
drops the already read packets. Fix a bug in replace_underlying_iterator
because checking the self._next function turns out not to work since
it points to a bound method so the "is not" check fails.
2021-08-15 21:02:37 -07:00
Bram Kragten
eb278834de
Add gas support to energy ( #54560 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-08-13 10:39:16 -07:00
Steven Looman
2c1728022d
Use ssdp callbacks in upnp ( #53840 )
2021-08-13 11:13:25 -05:00
Erik Montnemery
029873a088
Add support for total and total_increasing sensor state classes ( #54523 )
...
* Add support for amount and meter sensor state classes
* Ignore last_reset for STATE_CLASS_METER sensors
* Update tests
* Rename STATE_CLASS_METER to STATE_CLASS_AMOUNT_INCREASING
* Rename STATE_CLASS_AMOUNT to STATE_CLASS_TOTAL
* Fix typo
* Log warning if last_reset set together with state_class measurement
* Fix warning message
2021-08-13 12:35:23 +02:00
Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) ( #54476 )
...
* Move temperature conversions to entity base class (6/8)
* Fix tests
2021-08-12 17:40:55 +02:00
Erik Montnemery
6de6a5dc14
Move temperature conversions to sensor base class (3/8) ( #54469 )
...
* Move temperature conversions to entity base class (3/8)
* Fix FritzBox sensor
* Fix tests
2021-08-12 14:23:56 +02:00
Erik Montnemery
2720ba2753
Move temperature conversions to sensor base class (4/8) ( #54472 )
...
* Move temperature conversions to entity base class (4/8)
* Fix litterrobot sensor
* Fix tests
2021-08-11 21:17:47 +02:00
Erik Montnemery
ae507aeed1
Move temperature conversions to sensor base class (8/8) ( #54483 )
...
* Move temperature conversions to entity base class (8/8)
* Fix wallbox sensor
* Fix tests
2021-08-11 21:17:16 +02:00
Bram Kragten
e23750b2a4
Add device class `gas` and enable statistics for it ( #54110 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-08-11 09:58:19 -07:00
Bram Kragten
f020d65416
Add battery support to energy ( #54432 )
2021-08-11 09:49:56 -07:00
Martin Hjelmare
028a3d3e53
Complete mysensors sensor coverage ( #54471 )
2021-08-11 17:19:02 +02:00
J. Nick Koston
1e14b3a0ac
Ensure camera handles non-jpeg image sources correctly ( #54474 )
2021-08-11 08:12:46 -07:00
jan iversen
4ef9269790
Replace prepare_service_call with a simpler fixture in modbus ( #53975 )
...
* Convert prepare_service_call to a fixture.
2021-08-11 12:42:28 +02:00
Joakim Sørensen
2f5c3c08ef
Use monitor name for uptimerobot device registry ( #54456 )
2021-08-11 11:27:41 +02:00
jan iversen
2d669a4613
Remove legacy code. ( #54452 )
2021-08-11 11:07:04 +02:00
Erik Montnemery
4e07ab1b32
Move temperature conversions to sensor base class (1/8) ( #48261 )
...
* Move temperature conversions to entity base class (1/8)
* Update integrations a-c
* Leave old temperature conversion until all integrations are migrated
* tweak
* Use contextlib.suppress
* Remove the MeasurableUnitEntity mixin
* Address comments, add tests
* Fix f-string
* Drop deprecation warning from base entity class
* Update with _attr-shorthand
* Fix rebase mistakes
* Fix additional rebase mistakes
* Only report temperature conversion once
* Fix additional rebase mistakes
* Format homeassistant/components/bbox/sensor.py
* Fix check for overidden _attr_state
* Remove test workarounds from implementation
* Remove useless None-check
* Tweaks
* Migrate new sensors a-c
* Update climacell
* Push deprecation of temperature conversion forward
* Override __repr__ in SensorEntity
* Include native_value in SensorEntity attributes
* Pylint
* Black
* Black
* Fix rebase mistakes
* black
* Fix rebase mistakes
* Revert changes in august/sensor.py
* Revert handling of unit converted restored state
* Apply code review suggestion
* Fix arlo test
2021-08-11 10:45:05 +02:00
J. Nick Koston
4d40d95848
Add support for width and height to ffmpeg based camera snapshots ( #53837 )
2021-08-10 20:31:11 -05:00
J. Nick Koston
d0b11568cc
Ensure HomeKit passes min/max mireds as ints ( #54372 )
2021-08-10 20:28:01 -05:00
J. Nick Koston
e99576c094
Pass width and height when requesting camera snapshot ( #53835 )
2021-08-10 19:33:06 -05:00
J. Nick Koston
4ae6435a64
Avoid increasing yeelight rate limit when the state is already set ( #54410 )
2021-08-10 15:17:49 -07:00
J. Nick Koston
4da451fcf7
Improve HomeKit Color with Color Temp implementation ( #54371 )
2021-08-10 15:16:51 -07:00
J. Nick Koston
4bde4504ec
Add api to device_automation to return all matching devices ( #53361 )
2021-08-10 14:21:34 -05:00
Dror Eiger
7e211965e4
Update the Qubino Flush Shutter fixture ( #54387 )
2021-08-10 10:31:55 -04:00
Joakim Sørensen
d1ea38e8f0
Add 100% test coverage for Uptime Robot ( #54314 )
...
* Add 100% test coverage for Uptime Robot
* Update tests/components/uptimerobot/test_binary_sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add more typehints
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-10 16:29:51 +02:00
Joakim Sørensen
cf8f27bb44
Adjust version tests ( #54391 )
...
* Adjust version tests
* patch local import
2021-08-10 15:03:34 +02:00
Joakim Sørensen
8cb3a485e0
Fix Canary sensor state ( #54380 )
2021-08-10 09:19:28 +02:00
Paulus Schoutsen
38a7bdbcf3
Do not process forwarded for headers for cloud requests ( #54364 )
2021-08-10 01:45:56 +02:00
Joakim Sørensen
d80da944a3
Version sensor entity cleanup ( #53915 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-10 01:24:18 +02:00
J. Nick Koston
25f3cdde50
Add powerwall import and export sensors ( #54018 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-09 16:03:22 -07:00
Richard T. Schaefer
3184f0697f
Add Save Persistent States service ( #53881 )
2021-08-10 00:38:56 +02:00
J. Nick Koston
74a30af79b
Always set interfaces explicitly when IPv6 is present ( #54268 )
2021-08-09 21:13:55 +02:00
starkillerOG
a23da30c29
Yeelight local push updates ( #51160 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-09 13:33:34 -05:00
Diogo Gomes
b88f0adbe9
Restores unit_of_measurement ( #54335 )
2021-08-09 19:48:01 +02:00
Chris
188919f079
Clean up zwave_js RGB code ( #54336 )
2021-08-09 18:45:12 +02:00
Franck Nijhof
1c7891fbee
Remove deprecated YAML configuration from Growatt ( #54325 )
2021-08-09 14:54:42 +02:00
Raman Gupta
c79ee53ab1
Use dict for zwave_js siren.available_tones ( #54305 )
...
* Use dict for zwave_js siren.available_tones
* update siren.turn_on service description
2021-08-09 13:29:17 +02:00
Chris
3742333a89
Remove zwave_js transition on individual color channels ( #54303 )
2021-08-09 13:21:41 +02:00
jan iversen
9b7b787fe4
Remove icon where device_class is defined. ( #54323 )
2021-08-09 13:13:11 +02:00
jan iversen
6ea50823c1
Use SensorEntityDescription for arlo ( #54223 )
...
* Use SensorEntityDescription.
2021-08-09 12:16:35 +02:00