Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.56 KB

File metadata and controls

54 lines (43 loc) · 1.56 KB

GitHub Release GitHub Activity

This component will set up the following platforms.

Platform Description
binary_sensor Show something on or off.

{% if not installed %}

Installation

  1. Click install.
  2. Add follow example:

{% endif %}

Example configuration.yaml

binary_sensor:
  - platform: datetime_sensors
    datetime_input: input_datetime.my_input_datetime
    name: my_datetime_is_triggered

Configuration options

Key Type Required Description
datetime_input entity_id True entity as input_datetime type you like track
name string False Custom name for this binary_sensor

### Example usage on automation

automation:
  - id: test_automation
    alias: Test automation
    trigger:
      - platform: state
        entity_id: binary_sensor.test1_triggered
        from: 'off'
        to: 'on'
    action:
      - service: light.toggle
        entity_id: light.luz_1