Skip to content

Add hide_switch option #44

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
@@ -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.
@@ -311,6 +313,7 @@ switch:
id: relay
restore_mode: ${relay_restore_mode}
icon: mdi:${power_plug_type}
internal: "{$hide_switch}"

light:
- platform: status_led