Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create binary sensor entities for simple RF codes (motion/door sensors) #1

Open
danobot opened this issue Jan 17, 2020 · 0 comments
Open

Comments

@danobot
Copy link
Owner

danobot commented Jan 17, 2020

Given this:

    - name: Motion Sensors
      type: binary
      mappings:
        mtn-living-room:
          type: motion
          payload: 2678906
        mtn-living-room-secondary:
          type: motion
          payload: 13690522

Create binary_sensor entities called binary_sensor.mtn_living_room, binary_sensor.mtn_living_room_secondary to the equivalent of defining them seperately:

- platform: mqtt
  name: "living_room_motion"
  device_class: 'motion'
  state_topic: "/rf/2678906"
  off_delay: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant