Commit graph

9 commits

Author SHA1 Message Date
J. Nick Koston
002b068c0a
Remove YAML support from sense () 2021-05-01 11:17:52 -10:00
J. Nick Koston
d7ac4bd653
Cancel sense updates on the stop event () 2021-04-13 14:03:46 -07:00
J. Nick Koston
3a7620bd08
Update sense icon mappings () 2020-08-24 21:35:48 -05:00
J. Nick Koston
45beb3c6e4
Fix typo in sense constant SENSE_TRENDS_COORDINATOR () 2020-04-13 22:56:02 -07:00
J. Nick Koston
5ddcc22583
Convert sense to use DataUpdateCoordinator for trends data ()
* Convert sense to use DataUpdateCoordinator for trends

* remove unused

* request update right away

* clarify

* call async refresh later

* Update homeassistant/components/sense/__init__.py

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/sense/__init__.py

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-04-13 17:08:37 -07:00
Marcelo Moreira de Mello
d2e70eb967
Add attribution to Sense component () 2020-04-04 22:51:00 +02:00
J. Nick Koston
fa60e9b03b
Improve sense timeout exception handling ()
asyncio.Timeout needs to be trapped as well
2020-03-22 21:41:59 -07:00
J. Nick Koston
0364cd8db5
Add usage sensors for each device sense detects that show powe… ()
* init

* const

* update docs string

* update docs string

* restore binary sensors

* Restore binary sensors

* match name

* pylint

* Fix bug in conf migration

* Fix refactoring error

* Address review items

Imporve performance

* Fix devices never turning back off
2020-02-27 21:23:47 -08:00
J. Nick Koston
3e702c8ca4
Add Config Flow for sense ()
* Config Flow for sense

* Fix unique ids so they are actually unique (and migrate the old ones)

* Fix missing solar production

* Do not mark sensors available until they have data

* Address review items

* Address review round 
2020-02-25 16:37:41 -07:00