Daniel Rosehill
Published

A Simple Shabbat Indicator Light Using Home Assistant

Know if Shabbat is in or out by checking whether a light bulb is illuminated.

BeginnerProtip30 minutes76
A Simple Shabbat Indicator Light Using Home Assistant

Things used in this project

Hardware components

Zigbee E27 light bulb
×1
SMLight SLZB-06 Zigbee controller
×1

Software apps and online services

Home Assistant
Home Assistant
Jewish Sabbaths and Holidays (3rd party integration)

Story

Read more

Code

YAML automation

YAML
Replace device and entity IDs with your hardware entries
alias: Turn on indicator light when it's Shabbat
description: Turns on the Shabbat indicator when it's Shabbat
trigger:
  - platform: state
    entity_id:
      - sensor.hebcal_is_shabbat
    to: "True"
condition: []
action:
  - type: turn_on
    device_id: aaaaaaaaaaaaaaaaaaaaaaaaaaa
    entity_id: aaaaaaaaaaaaaaaaaaaaaaaaaa
    domain: light
mode: single

Credits

Daniel Rosehill

Daniel Rosehill

1 project • 0 followers
Home Assistant user and general tech fan!
Thanks to Yuval Mejahez .

Comments