Commit graph

35 commits

Author SHA1 Message Date
epenet
19b85851a1
Use _attr_force_update in tasmota () 2022-09-06 20:20:07 +02:00
ollo69
3327493ab7
Add state class total increasing to Tasmota energy today sensor ()
Add  total increasing to tasmota energy today sensor
2022-09-06 11:24:08 +02:00
Erik Montnemery
3bddd6cf96
Correct device class for tasmota apparent and reactive power sensors () 2022-08-29 19:30:48 -04:00
Theo Arends
31e3f4892e
Bump hatasmota to 0.4.1 ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-27 19:05:42 +02:00
Dave T
8fd60dbd51
Refactor entity_category str types () 2021-12-27 18:23:08 +01:00
epenet
3724a4fb2f
Use new enums in tasmota ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:00:53 +01:00
Erik Montnemery
d143aa06e3
Correct device class for Tasmota dewpoint sensor () 2021-12-10 09:12:24 +01:00
Erik Montnemery
8e58ea8397
Correct state class for Tasmota sensors ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-09 10:49:19 +01:00
Franck Nijhof
3adb9e4143
Use native datetime value in Tasmota sensors () 2021-11-18 20:03:04 +01:00
Erik Montnemery
2bae113748
Mark Tasmota status sensors as diagnostic sensors ()
* Mark Tasmota status sensors as diagnostic sensors

* Disable IP and firmware version sensors by default
2021-10-18 19:33:26 -07:00
Erik Montnemery
bca9360d52
Remove last_reset attribute from tasmota energy sensors () 2021-08-18 09:25:33 -07:00
Erik Montnemery
94a264afaf
Move temperature conversions to entity base class (7/8) () 2021-08-11 18:57:50 +02:00
Marc Mueller
074d762664
Rename and reorganize electric unit constants () 2021-07-20 20:06:23 +02:00
Erik Montnemery
2e44e256f0
Improve typing of Tasmota (3/3) () 2021-07-12 19:17:44 +02:00
Erik Montnemery
8c812bc25c
Improve typing of Tasmota (2/3) ()
* Improve typing of Tasmota (2/3)

* Add more typing, add TasmotaOnOffEntity

* Address review comments
2021-07-12 18:27:11 +02:00
Erik Montnemery
16e90f12ca
Add last_reset property to Tasmota energy sensors ()
* Add last_reset property to Tasmota energy sensors

* Correct device class for energy sensors
2021-05-26 17:58:06 +02:00
Erik Montnemery
b169a8dbda
Mark battery, humidity and pressure sensors as STATE_CLASS_MEASUREMENT ()
* Mark battery, humidity and pressure sensors as STATE_CLASS_MEASUREMENT

* Fix deconz battery sensor
2021-05-24 11:36:42 +02:00
Erik Montnemery
73d7a754e8
Mark temperature sensors as STATE_CLASS_MEASUREMENT ()
* Mark temperature sensors as STATE_CLASS_MEASUREMENT

* Fix broadlink tests

* Tweak Hue changes
2021-05-21 11:44:34 +02:00
Shay Levy
38f0c201c2
Fix Tasmota Wifi Signal Strength unit () 2021-04-15 19:53:03 +02:00
Erik Montnemery
783b453bbe
Migrate integrations t-v to extend SensorEntity () 2021-03-22 19:47:44 +01:00
Marc Mueller
b67b9b94f9
Update typing 13 () 2021-03-18 14:43:52 +01:00
Mick Vleeshouwer
461e766a93
Add device class CO2 to various integrations ()
* Add device class CO2 to Fibaro

* Add device class CO2 to Awair

* Add device class CO2 to Tasmota

* Add device class CO2 to Netatmo

* Add device class CO2 to Ambient Station

* Update Tasmota tests

* Remove icon
2021-03-10 12:52:55 +01:00
Rene Lehfeld
2272925699
Add force_update to tasmota sensors ()
* Add force update also to non-binary sensors as e.g. POWER Measurement agerage cannot be calculated otherwise. This is the same behavior as set with the obsolete tasmota detection

* add tests in binary_sensor and test_sensor for force_update flag

* satisfy flake8

* next try for force_update test but this time on the entity object which is the correct level

* once again satisfy flake8

* one more try for a test

* fix typo

* satisfy black
2021-03-02 18:57:14 +01:00
Erik Montnemery
974e099e2a
Small cleanup of Tasmota () 2020-11-26 22:34:26 +01:00
Erik Montnemery
8cc7069323
Bump hatasmota to 0.0.29 () 2020-11-11 13:51:09 +01:00
Erik Montnemery
51b4bc547c
Bump hatasmota from 0.0.27 ()
* Adjust tests

* Add test for deprecated discovery message

* Update status sensors

* Bump hatasmota to 0.0.27

* Update tests
2020-11-08 17:11:25 +01:00
Erik Montnemery
73eaef0b1c
Make sure Tasmota status sensors are disabled () 2020-10-30 19:04:11 +01:00
Erik Montnemery
6e9b0b4614
Bump hatasmota to 0.0.26 () 2020-10-30 19:02:26 +01:00
Erik Montnemery
251d8286e0
Revert "Bump hatasmota to 0.0.26 ()" ()
This reverts commit 2dc5c4dd69.
2020-10-30 18:02:44 +01:00
Federico Leoni
2dc5c4dd69
Bump hatasmota to 0.0.26 ()
* Tasmota : Add new Status Sensors

* Tasmota: add new Status Sensors

* Update RSSI sensor icon

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2020-10-30 14:59:36 +01:00
Erik Montnemery
de35d58fd4
Support reloading Tasmota config entries () 2020-10-23 01:22:51 +02:00
Erik Montnemery
ec7f329807
Add support for Tasmota status sensor ()
* Add sensor attributes, remove useless test.

* Fix tests

* Rework handling of sensor attributes

* Remove unused sensor attributes

* Hide status sensors

* Bump hatasmota to 0.0.19

* Use DEVICE_CLASS_SIGNAL_STRENGTH for WiFi signal sensor

* Improve test coverage

* Fix tests
2020-10-19 22:07:31 +02:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) () 2020-10-16 21:24:08 -05:00
Erik Montnemery
f70aa0b5cc
Merge Tasmota sensor device class and icon maps () 2020-10-12 19:26:35 +02:00
Erik Montnemery
84cb00bb4e
Add Tasmota sensor ()
* Add Tasmota sensor

* Remove useless try-except

* Bump hatasmota to 0.0.11

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Sort dict constants

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-12 07:27:06 +02:00