Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions athom-smart-plug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ substitutions:
project_version: "v1.0.7"
# Restore the relay (GPO switch) upon reboot to state:
relay_restore_mode: RESTORE_DEFAULT_ON
# Hide the switch in the frontend
hide_switch: "false"
# Set the update interval for sensors
sensor_update_interval: 10s
# Current Limit in Amps. AU Plug = 10. IL, BR, EU, UK, US Plug = 16.
Expand Down Expand Up @@ -311,6 +313,7 @@ switch:
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?


light:
- platform: status_led
Expand Down