-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Developer tools > Services no longer exists #173
Comments
Ah, sure, I will change that in the documentation |
Thanks for the quick reply. I am new to this and trying to get the code working. But this is quite a challenge. Seems that some updates have outdated your documentation. Just spend some hours getting the energy_Zero template to work. For future users please add that they can add the code to the configuration.yaml file (this is the easiest way) and the code for energy zero should look like this: # Example configuration entry
template:
- trigger:
- trigger: time_pattern
hours: "/1" #update every hour
- trigger: homeassistant
event: start #update during start of Homeassistant
action:
- action: energyzero.get_energy_prices
data:
incl_vat: false
config_entry: 2cff44427073c9dbd7fe6b12df78d9ce # replace with the config entry for your entity
start: "{{ today_at() - timedelta(days=1) }}"
end: "{{ today_at() + timedelta(days=2) }}"
response_variable: prices
sensor:
- unique_id: 79c470d8-4ccd-4f44-b3a2-e3d59d5dda8a
name: "energieprijzen_zero"
state: "{{ prices.prices }}"
attributes:
prices: "{{prices.prices}}" hope this will help future users. I still don't have the system working perhaps more updates will follow and we can improve the documentation together. |
Sure, thanks for your improvements. |
I've made some changes. I'm not sure what you changed in the YAML for the template sensor, besides the comments explaining what the triggers do. I've added that as an alias to the trigger. |
Trying to get the template to work. A small suggestion in the manual (perhaps more will follow)
In the documentation for the 'template sensor configuration' you refer to the developertools > services. This does no longer exist and has been replaces by developertools > actions.
background
Could you please update this in the manual?
The text was updated successfully, but these errors were encountered: