-
Notifications
You must be signed in to change notification settings - Fork 49
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
is an invalid entity ID for dictionary value @ data['snapshot_entities'] #38
Comments
I don't use this myself, but checked https://www.home-assistant.io/integrations/scene/ and see another formatting of the " snapshot_entities:" key, like so
Could you try that formatting? |
Hi there,
Thx for your answer. I tried several settings, the format that i am now using is the formatting that was auto created by the GUI for setting automations, but i will try the formatting you suggested by editting the yaml for the automation. I ve tried so many things, that i cant remember if i allready tried this format as you suggest. The page you suggest, with info about the scenes i allready saw. And many hours googling. :) but thank you very much for your answer, i will try this! It would be very nice if a find a way to use the "snapshot entity" feature as it should.
I was able to use it with 1 zigbee light, but now with my general lighting that is knx based, i can not take snapshots so i hope there is a solution/fix for this.
Kind regards!
Outlook voor Android<https://aka.ms/AAb9ysg> downloaden
…________________________________
From: RaoulTeeuwen - Pure Energie ***@***.***>
Sent: Friday, November 18, 2022 11:47:36 AM
To: notoriousbdg/Home-AssistantConfig ***@***.***>
Cc: Bluehawk83 ***@***.***>; Author ***@***.***>
Subject: Re: [notoriousbdg/Home-AssistantConfig] is an invalid entity ID for dictionary value @ data['snapshot_entities'] (Issue #38)
I don't use this myself, but checked https://www.home-assistant.io/integrations/scene/<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.home-assistant.io%2Fintegrations%2Fscene%2F&data=05%7C01%7C%7C17fc85993ee04e4295c708dac9524ea1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638043652589643751%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xy66mTECJUvvMgapF3VMiZQiq5UtnrRfjn7AeGzDrek%3D&reserved=0> and see another formatting of the " snapshot_entities:" key, like so
scene_id: before snapshot_entities: - climate.ecobee - light.ceiling_lights
Could you try that formatting?
—
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotoriousbdg%2FHome-AssistantConfig%2Fissues%2F38%23issuecomment-1319832847&data=05%7C01%7C%7C17fc85993ee04e4295c708dac9524ea1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638043652589643751%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CSb1TGAT3Q8T41DiJXHjjakrJIlGg57zEoOTdyWlG2M%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA3US676X7K7GORBZYOPYDFTWI5NERANCNFSM6AAAAAASC25RLM&data=05%7C01%7C%7C17fc85993ee04e4295c708dac9524ea1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638043652589643751%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pNu%2FI6UOEiHbaxMOSGkp%2B3mp7KE4I1Cr%2FTFmlvVU0UE%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi,
Here some feedback. I have tried with the format you suggested, and i receive no more errors so thats a good point.
it doesnt give an error but also it is not restoring the state of the entities (lights).
I can see the created scene in the settings/scenes. But cannot edit this and when the scene is activated, the light settings are not correct.
Outlook voor Android<https://aka.ms/AAb9ysg> downloaden
…________________________________
From: Kevin De Saeger ***@***.***>
Sent: Friday, November 18, 2022 12:00:59 PM
To: notoriousbdg/Home-AssistantConfig ***@***.***>; notoriousbdg/Home-AssistantConfig ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [notoriousbdg/Home-AssistantConfig] is an invalid entity ID for dictionary value @ data['snapshot_entities'] (Issue #38)
Hi there,
Thx for your answer. I tried several settings, the format that i am now using is the formatting that was auto created by the GUI for setting automations, but i will try the formatting you suggested by editting the yaml for the automation. I ve tried so many things, that i cant remember if i allready tried this format as you suggest. The page you suggest, with info about the scenes i allready saw. And many hours googling. :) but thank you very much for your answer, i will try this! It would be very nice if a find a way to use the "snapshot entity" feature as it should.
I was able to use it with 1 zigbee light, but now with my general lighting that is knx based, i can not take snapshots so i hope there is a solution/fix for this.
Kind regards!
Outlook voor Android<https://aka.ms/AAb9ysg> downloaden
________________________________
From: RaoulTeeuwen - Pure Energie ***@***.***>
Sent: Friday, November 18, 2022 11:47:36 AM
To: notoriousbdg/Home-AssistantConfig ***@***.***>
Cc: Bluehawk83 ***@***.***>; Author ***@***.***>
Subject: Re: [notoriousbdg/Home-AssistantConfig] is an invalid entity ID for dictionary value @ data['snapshot_entities'] (Issue #38)
I don't use this myself, but checked https://www.home-assistant.io/integrations/scene/<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.home-assistant.io%2Fintegrations%2Fscene%2F&data=05%7C01%7C%7C17fc85993ee04e4295c708dac9524ea1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638043652589643751%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xy66mTECJUvvMgapF3VMiZQiq5UtnrRfjn7AeGzDrek%3D&reserved=0> and see another formatting of the " snapshot_entities:" key, like so
scene_id: before snapshot_entities: - climate.ecobee - light.ceiling_lights
Could you try that formatting?
—
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotoriousbdg%2FHome-AssistantConfig%2Fissues%2F38%23issuecomment-1319832847&data=05%7C01%7C%7C17fc85993ee04e4295c708dac9524ea1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638043652589643751%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CSb1TGAT3Q8T41DiJXHjjakrJIlGg57zEoOTdyWlG2M%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA3US676X7K7GORBZYOPYDFTWI5NERANCNFSM6AAAAAASC25RLM&data=05%7C01%7C%7C17fc85993ee04e4295c708dac9524ea1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638043652589643751%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pNu%2FI6UOEiHbaxMOSGkp%2B3mp7KE4I1Cr%2FTFmlvVU0UE%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
What does the trace now show? |
I don't see anything here in your last reply? |
Whereto :-)? Haven't seen any, not sure where to look... |
No, not seeing them. Not sure if you do, but please check online at #38 (comment) . |
I am very sorry for this mistake. I was replying by email instead of replying by this website. I think i know where to look for the problem. Probably it will be a misconfiguration in my knx installation in stead of with this script/automation. Will first try to fix some ETS settings for the KNX, when my electrician comes by, and will let you know how that did work out.. thank you very much for your time and effort!! |
No problem! Looking forward to learn what the problem was/is :-). |
I suspect that it has something to do with the knx, read flag that is missing on some group adressess and maybe for the lights, there is no brightness-address, only a state address. So i think thats why the scene does know if a light was on or off, but not what his setting was.. only guessing from my side.. will figure this out first and will come back to you! Problem is i am a noob in HA, so it is a lot trial and error.. but i love the concept and project, and i think it is an amazing community with a lot of knowledge and people willing to help other people!
Outlook voor Android<https://aka.ms/AAb9ysg> downloaden
…________________________________
From: RaoulTeeuwen - Pure Energie ***@***.***>
Sent: Monday, November 21, 2022 8:26:22 PM
To: notoriousbdg/Home-AssistantConfig ***@***.***>
Cc: Bluehawk83 ***@***.***>; Author ***@***.***>
Subject: Re: [notoriousbdg/Home-AssistantConfig] is an invalid entity ID for dictionary value @ data['snapshot_entities'] (Issue #38)
No problem! Looking forward to learn what the problem was/is :-).
—
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotoriousbdg%2FHome-AssistantConfig%2Fissues%2F38%23issuecomment-1322542968&data=05%7C01%7C%7Cb1ccdbb7825a42b875e008dacbf6469c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638046555841558365%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gEuVO%2BI5olYOz%2BhUYDVGQAdqm%2BDBXrweNYIBJp8TVFU%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA3US672ZFH2GW37OY5G6KW3WJPEF5ANCNFSM6AAAAAASC25RLM&data=05%7C01%7C%7Cb1ccdbb7825a42b875e008dacbf6469c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638046555841558365%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kzbaiKLKE7TOh2DwvHTMEIjKSYpiL1AUvJEs14Gk8e0%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
When trying to create an automation i keep receiving this error:
The yaml code for this automatisation is:
`alias: Telenet Test pauze
description: ""
trigger:
entity_id:
from: playing
to: paused
condition: []
action:
data:
scene_id: voorpauze
snapshot_entities: light.spots_keuken light.lichtbak_keuken
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
target:
entity_id: scene.tv_pauze
metadata: {}
entity_id:
from: paused
to: playing
target:
entity_id: scene.voorpauze
metadata: {}
mode: single
`
I am using:
Logbook errors:
Can anyone help me with this please?
Thanks in advance!
The text was updated successfully, but these errors were encountered: