Skip to content

Instantly share code, notes, and snippets.

@brianhanifin
Created August 31, 2020 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianhanifin/a0b582ad3ece5c02814dd8466c783ac4 to your computer and use it in GitHub Desktop.
Save brianhanifin/a0b582ad3ece5c02814dd8466c783ac4 to your computer and use it in GitHub Desktop.
type: 'custom:scheduler-card'
discoverExisting: false
domains:
group:
actions:
- icon: toggle-switch
service: turn_on
- icon: lightbulb-on-outline
name: Turn on at 60%
service: turn_on
service_data:
brightness_pct: 60
- icon: toggle-switch-off-outline
service: turn_off
icon: lightbulb-group
light:
actions:
- icon: lightbulb-on
service: turn_on
- icon: lightbulb-on-outline
name: Turn on at 60%
service: turn_on
service_data:
brightness_pct: 60
- icon: lightbulb-off-outline
service: turn_off
icon: lightbulb
entities:
group.dining_room_light:
actions:
- icon: lightbulb-on
service: turn_on
- icon: lightbulb-on-outline
name: Turn on at 40%
service: turn_on
service_data:
brightness_pct: 40
- icon: lightbulb-off-outline
service: turn_off
icon: lightbulb
name: Dining Room light
group.family_room_lights:
icon: lightbulb-group
name: Family Room Lamps
light.brian:
name: 'Bedroom: Brian'
light.glowforge:
name: 'Bedroom: Glowforge'
switch.bedroom_fan:
actions:
- icon: fan
service: turn_on
- icon: fan-off
service: turn_off
icon: fan
name: Bedroom
switch.family_room_fan:
actions:
- icon: fan
service: turn_on
- icon: fan-off
service: turn_off
icon: fan
name: Family Room
switch.kitchen:
actions:
- icon: toggle-switch
service: turn_on
- icon: toggle-switch-off-outline
service: turn_off
icon: light-switch
name: Kitchen
switch.kitchen_prep:
actions:
- icon: toggle-switch
service: turn_on
- icon: toggle-switch-off-outline
service: turn_off
icon: light-switch
name: Kitchen Prep
switch.play_rom_fan:
actions:
- icon: fan
service: turn_on
- icon: fan-off
service: turn_off
icon: fan
name: Play Room
switch.upstairs_bathroom_fan:
actions:
- icon: fan
service: turn_on
- icon: fan-off
service: turn_off
icon: fan
name: Upstairs Bath Room Exhaust
groups:
fans:
entities:
- switch.bedroom_fan
- switch.family_room_fan
- switch.upstairs_bathroom_fan
icon: fan
light_fixtures:
entities:
- light.bedroom
- light.brian
- light.glowforge
- group.dining_room_light
- light.entry
- light.family_room
- light.family_room_floor_lamp
- light.table_lamp
- switch.kitchen
- switch.kitchen_prep
- light.play_room
- light.play_room_floor_lamp
- light.porch
icon: lightbulb
light_groups:
entities:
- group.bedroom_lights
- group.entry_lights
- group.family_room_lights
- group.kitchen_lights
- group.play_room_lights
icon: lightbulb-group
name: Light Groups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment