binary_sensor.octopus_energy_target_my_charge_slots #704
Closed
Dave-Parry
started this conversation in
General
Replies: 5 comments 2 replies
-
Hello. Sorry for the late response. Did you have any errors in your logs? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found this log. Does that help?
Regards
David Parry
***@***.***

… On 20 Jan 2024, at 10:54, David Kendall ***@***.***> wrote:
view it on GitHub <#704 (comment)>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Found out I can copy the log so here it is.
Logger: homeassistant.helpers.template
Source: helpers/template.py:2318
First occurred: 21 January 2024 at 16:57:57 (6753 occurrences)
Last logged: 09:42:58
Template variable error: 'dict object' has no attribute 'valid_from' when rendering '{% if state_attr('binary_sensor.octopus_energy_target_my_charge_slots', 'target_times') | length > 0 %} {% for target_time in state_attr('binary_sensor.octopus_energy_target_my_charge_slots', 'target_times') -%} ⏰ {{ (target_time.valid_from | as_local).strftime('%H:%M') }} to {{ (target_time.valid_to | as_local).strftime('%H:%M') }} {{ "\n" }} {%- endfor %} {%- else -%} ⏰ None {%- endif %}'
Regards
David Parry
***@***.***
… On 26 Jan 2024, at 09:36, David Kendall ***@***.***> wrote:
Hello. I don't see any logs attached to this? Github has issues with attachments to email replies
—
Reply to this email directly, view it on GitHub <#704 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACKNXXH5L6C2YJCUJFRHZULYQN2JDAVCNFSM6AAAAABBYWEYBKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DENJUG4YTK>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Ok, Thanks Dave,
Do I just leave it or is there a way to delete it?
Regards
David Parry
***@***.***
… On 26 Jan 2024, at 10:04, David Kendall ***@***.***> wrote:
Assuming you're on the latest version of the integratio, that template structure has not been valid since v9. valid_from is now start and valid_to is now end.
—
Reply to this email directly, view it on GitHub <#704 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACKNXXG35J5WHGDXP6R5HY3YQN5URAVCNFSM6AAAAABBYWEYBKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DENJVGA2TE>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
forget that Dave, just deleted it.
Regards
David Parry
***@***.***
… On 26 Jan 2024, at 10:04, David Kendall ***@***.***> wrote:
Assuming you're on the latest version of the integratio, that template structure has not been valid since v9. valid_from is now start and valid_to is now end.
—
Reply to this email directly, view it on GitHub <#704 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACKNXXG35J5WHGDXP6R5HY3YQN5URAVCNFSM6AAAAABBYWEYBKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DENJVGA2TE>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have just got a unavailable icon when I look in entities for binary_sensor.octopus_energy_target_my_charge_slots.
The Time slot display seems to be working ok, but was wondering why its just appeared.
Beta Was this translation helpful? Give feedback.
All reactions