Skip to content

Conversation

@Jimver
Copy link

@Jimver Jimver commented Feb 20, 2025

If you don't want the toggle to control the smart plug to show up in HA, set hide_switch to true. Useful if you only want to monitor but not control the smart plug.

Doing the same as athom-tech/athom-configs#60 to keep both repos consistent.

If you don't want the toggle to control the smart plug to show up in HA, set hide_switch to true. Useful if you only want to monitor but not control the smart plug.
id: relay
restore_mode: ${relay_restore_mode}
icon: mdi:${power_plug_type}
internal: "{$hide_switch}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be "${hide_switch}" like the rest of the substitutions? Does this string-interpolation method work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants