I want to add an area to the dashboard that would indicate what week of the grow I am on and maybe any other related information.
Thanks!
Edit:
I managed to create a helper to hold the Grow Start date using input_datetime.grow_start I also have a script with calls a service input_datetime.set_datetime, I then added a button to the overview page to run the script and added the grow_start entity to the page also.
When I click the button it does not update the date though. Can anyone point me in the right direction?
I have also tried this from the script:
Code: Select all
alias: Set Grow Start
sequence:
- data_template:
datetime: "{{ now().strftime('%Y-%d-%m') }}"
entity_id: input_datetime.grow_start
service: input_datetime.set_datetime
Code: Select all
alias: Set Grow Start
sequence:
- data:
datetime: '2016-04-20'
entity_id: input_datetime.grow_start
service: input_datetime.set_datetime