Closed ghost closed 7 months ago
Hi @johiodo,
could you please first check if the attribute decklidstatus is changing to true when you open the decklid. We had this topic a few quarters ago that not each car is reporting this correctly.
I just created a simple automation:
After saving it. I opened the decklid and the automation started.
here again my automation config:
id: '1705862416787'
alias: DeckLid Checker
description: ''
trigger:
- platform: state
entity_id:
- sensor.l_so127e_lock
attribute: decklidstatus
condition: []
action:
- service: persistent_notification.create
data:
message: Decklid changes
mode: single
Hi Rene,
In the first week we are driving with our new car. The back door was opened in the night. That's why I made this automation to report to my iPhone and find out, it's not working. My car EQA250+ december 2023.
This attribute 'decklidstatus' is reporting correct: [cid:6f0fd087-330a-4e84-8950-ef064e33bf0b] The problem is, a template is reporting "False" with capital. [cid:7301ce12-7cbc-4cb7-8cf2-7c0c3a3522a0]
I made my automation in the ui and typed "false" as displayed in status checker.
Thanks for your help
Regards, Joop
From: Rene Nulsch @.> Sent: Sunday, January 21, 2024 7:51 PM To: ReneNulschDE/mbapi2020 @.> Cc: johiodo @.>; Mention @.> Subject: Re: [ReneNulschDE/mbapi2020] False attribute name 'decklidstatus' Senor.xxxxxx_lock (Issue #176)
Hi @johiodohttps://github.com/johiodo,
could you please first check if the attribute decklidstatus is changing to true when you open the decklid. We had this topic a few quarters ago that not each car is reporting this correctly.
I just created a simple automation: image.png (view on web)https://github.com/ReneNulschDE/mbapi2020/assets/33263735/85f37162-46fa-4da9-ba0a-809ebea9f704
image.png (view on web)https://github.com/ReneNulschDE/mbapi2020/assets/33263735/af91f2e7-1959-4869-b0f7-15d25ea55d49
After saving it. I opened the decklid and the automation started.
image.png (view on web)https://github.com/ReneNulschDE/mbapi2020/assets/33263735/543f0337-59a9-4a84-bc33-ea863e3f60d0
here again my automation config:
id: '1705862416787' alias: DeckLid Checker description: '' trigger:
— Reply to this email directly, view it on GitHubhttps://github.com/ReneNulschDE/mbapi2020/issues/176#issuecomment-1902726429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3JVZIUHVV4CLNS4E5Q7ISLYPVPTZAVCNFSM6AAAAABCEB4AXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSG4ZDMNBSHE. You are receiving this because you were mentioned.
Not sure why this is not working. I assume some HA-magic. Have to test this in more detail.
You can use a template trigger: {{ is_state_attr("sensor.XXXXX_lock", "decklidstatus", true) }}
the automation gets fired when the decklid opens. Replace XXXXX with your id.
Ok thanks,Met vriendelijke groet,Joop HilverinkOp 24 jan 2024 om 13:31 heeft Rene Nulsch @.***> het volgende geschreven: Not sure why this is not working. I assume some HA-magic. Have to test this in more detail. You can use a template trigger: {{ is_state_attr("sensor.XXXXX_lock", "decklidstatus", true) }} the automation gets fired when the decklid opens. Replace XXXXX with your id.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Hi, selecting this sensor in automations with the attribute name "Deck Lid" results in a not working trigger. The selectable name is not corresponding with the name "decklidstatus"