frontend
frontend copied to clipboard
Automations Visual- and YAML editor not showing the same information
Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
Describe the issue you are experiencing
When I write an automation using the Visual Editor and select the device trigger, a phone, phone leaves a zone and select the zones they do not reflect as selected in the Visual editor, but are there in the yaml editor of the same automation.
Describe the behavior you expected
For the Visual editor to show the selected zones that the yaml editor does.
Steps to reproduce the issue
- Create a new automation
- Select the Device trigger
- Choose a phone device
- Choose phone leaves a zone
- Save the automation
- Stop editing the automation
- Start editing the automation again
- Look at the Visual editor and discover that no zone is selected
- Toggle the YAML editor and discover that a zone is actually selected.
What version of Home Assistant Core has the issue?
Home Assistant 2022.12.1
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Mozilla Firefox 105.0, Chromium Version 105.0.5195.125
Which operating system are you using to run this browser?
Arch Linux
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
What the Visual editor displays
What the YAML editor displays
description: New Automation
mode: single
trigger:
- platform: device
device_id: some-id-123123123
domain: device_tracker
entity_id: device_tracker.my_phone
type: leaves
zone: zone.home
- platform: device
device_id: some-id-123123123
domain: device_tracker
entity_id: device_tracker.wifes_phone
type: leaves
zone: zone.home
condition:
- condition: not
conditions:
- condition: zone
entity_id: device_tracker.wifes_phone
zone: zone.home
- condition: zone
entity_id: device_tracker.wifes_phone
zone: zone.home
action: []
The same here. Visual editor does not show action names only greyed out the type of action (hvac_mode, "typ pracy hvac"(hvac_mode again)) instead of the action to execute. It is correcti in yaml file.
For what it's worth, I tested your exact steps 1-8 on 2022.11.2 and it worked as expected, the zone was correctly loaded in the visual editor after saving and exiting.
Either that means it broke between 2022.11 and 2022.12, or there's something more subtle going on.
I updated to 2022.12.3 and the issue persists.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.