Template Sensor vs Input Select

Hey so I’m sure there are a lot of people here aware of the videos “make your non-smart devices, smart” and a majority of the videos guide you through taking a smart power plug with automations when dishwasher power is < / > X watts to change the input select to change the status and report via notification.

For the most part this works for me, but I’m trying to have my setup flexible, I’ve started working on having homebridge set up whereby I create bridges for certain types of devices eg ‘HASS_Climate’ and then I can advertise entities to HomeKit and allow us to have multiple modes of control.

I am curious if there is a smarter way for me to do the dishwasher run status so that it is an entity that I can expose to HomeKit, I’m assuming (not sure) if it was a template/sensor, then it would be able to be exposed to HomeKit?

alias: STATUS - Dishwasher Finished
description: ""
triggers:
  - entity_id:
      - sensor.plug_dishwasher_power
    for:
      hours: 0
      minutes: 8
      seconds: 0
    below: 4
    trigger: numeric_state
conditions:
  - condition: state
    entity_id: input_select.dishwasher_status
    state: Running
    for:
      hours: 0
      minutes: 0
      seconds: 0
actions:
  - action: notify.mobile_app_iphone
    metadata: {}
    data:
      message: Dishwasher Cycle Has Finished
  - action: input_select.set_options
    metadata: {}
    data:
      options:
        - Finished
    target:
      entity_id: input_select.dishwasher_status
mode: single

Bump…bumpp…bumpity bump :slight_smile:

It would need to be a template binary_sensor with a unique_id and a device class.

thanks for this. Any guidance on how I can implement that with my current parameters?