Commit Graph

6 Commits (bca9360d523a173bffad465b118f0197c163c38a)

Author SHA1 Message Date
Erik Montnemery e1926caeb9
Remove STATE_CLASS_TOTAL and last_reset from sensor (#54755)
* Remove STATE_CLASS_TOTAL

* Update mill sensor

* Update tests

* Kill last_reset

* Return ATTR_LAST_RESET to utility_meter

* Update energy cost sensor

* Restore last_reset for backwards compatibility

* Re-add and update deprecation warning

* Update tests

* Fix utility_meter

* Update EnergyCostSensor

* Tweak

* Fix rebase mistake

* Fix test
2021-08-18 10:03:27 +02:00
Daniel Hjelseth Høyer 979165669c
Update mill to use state class total (#54581) 2021-08-16 15:57:23 +02:00
Erik Montnemery 87e7a8fb5f
Move temperature conversions to sensor base class - new integrations (#54623)
* Move temperature conversions to sensor base class

* Tweaks

* Update pvpc_hourly_pricing

* Fix flipr sensor

* Fix ezviz and youless sensor
2021-08-15 08:51:43 +02:00
Daniel Hjelseth Høyer f03b160c46
Mill cleanup (#54396) 2021-08-10 16:28:39 +02:00
Paulus Schoutsen 5e059c7f55
Fix lint on dev (#53265) 2021-07-21 08:55:34 +02:00
Daniel Hjelseth Høyer 8a72e8df79
Convert Mill consumption attributes to sensors (#52311) 2021-07-20 22:41:08 -07:00