Conversation
|
@fabaff, thanks for your PR! By analyzing the history of the files in this pull request, we identified @pvizeli, @konikvranik and @postlund to be potential reviewers. |
|
I think instead to have a counter we should make a timer component with a nice UI card. For timer we can also make dynamic timers that can be create and delete and change on runtime. The state if a timer is run/stop/pause and fire a event on zero. That help to not make a state to db every time where the counter change like this |
|
This component doesn't not depend on time. If I understand your comment right then you are talking about something like a countdown from 10 min and then do something. Incrementing and decrementing happens when the service is executed. Like do something for x times while you know that after x+n times you have to replace the battery, so show a notification when x+m is reached. |
|
Okay, now is clear, thanks |
* upstream/dev: (113 commits) Fix fitbit error when trying to access token after upgrade. (home-assistant#9183) Upgrade sendgrid to 5.0.1 (home-assistant#9215) Upgrade pyasn1 to 0.3.3 and pyasn1-modules to 0.1.1 (home-assistant#9216) directv: extended discovery via REST api, bug fix (home-assistant#8800) Bayesian Binary Sensor (home-assistant#8810) Add cloud auth support (home-assistant#9208) Abode push events and lock, cover, and switch components (home-assistant#9095) Lint Sonarr tests Upgrade pymysensors to 0.11.1 (home-assistant#9212) Refactor rfxtrx (home-assistant#9117) Issue home-assistant#6893 in rfxtrx (home-assistant#9130) Support for season sensor (home-assistant#8958) Add counter component (home-assistant#9146) Fix and optimize digitalloggers platform (home-assistant#9203) Prevent error when no forecast data was available (home-assistant#9176) Add "status" to Sonarr sensor (home-assistant#9204) fix worldtidesinfo home-assistant#9184 (home-assistant#9201) Update pushbullet.py (home-assistant#9200) Fix dht22 when no data was read initially home-assistant#8976 (home-assistant#9198) Prevent iCloud exceptions in logfile (home-assistant#9179) ...
Description:
This PR is based on the idea of #6880 and uses the same configuration variables. It is not a sensor but a component now and still provides
increment,decrementandresetas a service for automations.Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#3250
Example entry for
configuration.yaml(if applicable):Checklist:
If user exposed functionality or configuration variables are added/changed:
If the code does not interact with devices:
toxrun successfully. Your PR cannot be merged unless tests pass