marcfager / nspanel-mf

Custom HMI controlled by ESPHome for the Sonoff NSPanel. Includes media player card and home screen with weather data and clock. More to come.
215 stars 60 forks source link

Using HA Templates #25

Open diginfo opened 2 years ago

diginfo commented 2 years ago

Hi;

Thanks for developing this, I would like to do my configs via HA as per this:

"If you prefer to set-and-forget it, you can replace the media entities, weather entities, light entities etc. with HA templates or input_text fields. That way you can re-configure everything directly from Home Assistant."

I have tried adding a binary sensor to ha:

- platform: nextion
  name: Light 2 button
  page_id: 2
  component_id: 19
  on_click:
    - homeassistant.service:
        service: light.toggle
        data:
          entity_id: light.jack

But I get the error: Platform error binary_sensor.nextion - Integration 'nextion' not found.

Any chance you could provide some info on how to configure the panel from within HA rather than in the esphome yaml file ?

Many Thanks

pepe59 commented 1 year ago

Did you solve this problem or how to proceed in the configuration? I would like to use it the same way and am looking for information before proceeding. Thank you