Skip to content

[Feature] Screensaver Entities and Locales #22

@r0bb10

Description

@r0bb10

Hi!

I've finally managed to test your esphome port for the nspanel, i wouls say it's pretty damn cool and works great so far (not tested extensively but i'm going to).

I've noticed some differences for now with the original tasmota/appdaemon version that maybe could be implemented:

nspanel_lovelace:
  id: nspanel
  sleep_timeout: 10
  locale:
    temperature_unit: celcius
    # day_of_week_map:
    #   sunday: ['Sun', 'Sunday']
    #   monday: ['Mon', 'Monday']
    #   tuesday: ['Tue', 'Tuesday']
    #   wednesday: ['Wed', 'Wednesday']
    #   thursday: ['Thu', 'Thursday']
    #   friday: ['Fri', 'Friday']
    #   saturday: ['Sat', 'Saturday']
  screensaver:
    time_id: homeassistant_time
    ## For formatting options see: https://cplusplus.com/reference/ctime/strftime/
    # time_format: '%H:%M'
    # date_format: '%A, %d. %B %Y'
    weather:
      # entity_id: weather.openweathermap
      ## NOTE: use this version (after following the instructions on the README) with Home Assistant v4.4.0+
      entity_id: sensor.weather_forecast_daily
  cards:
    - type: cardThermo
      sleep_timeout: 5
      title: Fancoil Living
      thermo_entity_id: climate.fancoil_living_hvac
      entities:
        - entity: weather.openweathermap
          color: [255,255,255]
        - entity: sensor.weather_forecast_hourly
          type: 0
          name: ""
          color: [255,255,255]
        - entity: sensor.weather_forecast_hourly
          type: 1
          name: ""
          color: [255,255,255]
        - entity: sensor.weather_forecast_hourly
          type: 2
          name: ""
          color: [255,255,255]
        - entity: sensor.weather_forecast_hourly
          type: 3
          name: ""
          color: [255,255,255]
        - entity: sensor.temperatura_living
          icon: mdi:home-thermometer-outline
          color: [255,255,255]
  1. In the screensaver section it can only be specified 1 entity for weather but as per docs here those can be specified and to enable the alternative layout the sixth entities needs to be specified.. can this option be added?

  2. Can locale be enabled for the traslation or does it require much work? The appdaemon version can use locale: "it_IT" but in esphome i only found the temp scale that can be customized.

  3. I've waited until recently to test because of the missing cardthermo but now that it's in confident to fully switch.. testing i just noticed that the buttons (off, cool, heat) area not centered in the card but are alligned to the left.. the rest seems working perfectly.

Thanks again for this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions