Files
zorruno-homeassistant/packages/firewall_control.yaml
2023-10-20 13:27:48 +13:00

24 lines
835 B
YAML

mqtt:
switch:
- unique_id: mollies.internet
name: "Mollie's Internet Blocking"
state_topic: "viewroad-status/firewall/block-unblock-mollie-iphone7"
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