Files
zorruno-homeassistant/packages/firewall_control.yaml
2024-09-04 22:46:30 +12:00

30 lines
1.1 KiB
YAML

mqtt:
switch:
- unique_id: mollies.internet
name: "Mollie's Internet Blocking"
state_topic: "viewroad-status/firewall/block-unblock-mollie-iphone8"
command_topic: "viewroad-commands/firewall/block-unblock-mollie-devices"
payload_off: "Unblocked"
payload_on: "Blocked"
icon: mdi:web
retain: false
button:
- unique_id: mollies.internet.temp.block
name: "Mollie's Internet (1 hr Block)"
command_topic: "viewroad-commands/firewall/tempblock-mollie-devices"
payload_press: "Blocked"
icon: mdi:web
retain: false
- unique_id: mollies.internet.temp.unblock
name: "Mollie's Internet (15min Unblock)"
command_topic: "viewroad-commands/firewall/tempunblock-mollie-devices"
payload_press: "Unblocked"
icon: mdi:web
retain: false
- unique_id: mollies.internet.temp.unblock.1hr
name: "Mollie's Internet (1hr Unblock)"
command_topic: "viewroad-commands/firewall/tempunblock-mollie-devices-1hr"
payload_press: "Unblocked"
icon: mdi:web
retain: false