Commit Graph

7 Commits (5c86cc502f596782d6a57e7ef05646adbd3514ff)

Author SHA1 Message Date
Franck Nijhof eccefd154a
Extend targets for entity component services () 2021-05-17 14:06:50 +02:00
tkdrob 5d6f4068d3
Add targets and selectors for services (U-W) ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-15 10:49:10 +02:00
Diogo Gomes 24b9d73392
Improves UX of Utility Meter services () 2021-05-02 10:53:35 +02:00
Franck Nijhof 24840b54ac
Add yamllint (in pre-commit and CI) ()
* Add yamllint (in pre-commit and CI)

* Fix linting for all YAML files

* Bump and add it to requirements

* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
Diogo Gomes 16336bf902
Add entity_service calibrate_meter to utility_meter ()
* add calibrate service
2020-03-11 09:42:22 +01:00
Franck Nijhof 9035efee10 Fixes invalid JSON files and whitespace corrections in YAML files () 2019-09-03 16:02:42 -07:00
Diogo Gomes 1d5ffe9ad5 Utility meter ()
* initial commit

* test service calls

* lint

* float -> Decimal

* extra tests

* lint

* lint

* lint

* lint

* fix self reset

* clean

* add services

* improve service example description

* add optional paused initialization

* fix

* travis fix

* fix YEARLY

* add tests for previous bug

* address comments and suggestions from @ottowinter

* lint

* remove debug

* add discoverability capabilities

* no need for _hass

* Update homeassistant/components/sensor/utility_meter.py

Co-Authored-By: dgomes <diogogomes@gmail.com>

* Update homeassistant/components/sensor/utility_meter.py

Co-Authored-By: dgomes <diogogomes@gmail.com>

* correct comment

* improve error handling

* address @MartinHjelmare comments

* address @MartinHjelmare comments

* one patch is enought

* follow @ballob suggestion in https://github.com/home-assistant/architecture/issues/131

* fix tests

* review fixes

* major refactor

* lint

* lint

* address comments by @MartinHjelmare

* rename variable
2019-01-26 16:33:11 +01:00