evohome HA clear_zone_override service

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • lloyd
    Automated Home Guru
    • Oct 2020
    • 160

    evohome HA clear_zone_override service

    Anyone using the Evohome clear_zone_override service in an automation in Home Assistant? Although I can get this to work in the developer tools, as a newbie I'm struggling with the syntax required in an automation. This is what I have:

    Code:
    - id: '1608036384799'
      alias: Reset Dining Room Weekday
      description: ''
      trigger:
      - platform: time
        at: '13:30'
      condition:
      - condition: time
        weekday:
        - mon
        - tue
        - wed
        - thu
        - fri
      action:
      - service: evohome.clear_zone_override
        data: {entity_id: climate.dining_room}
      mode: single
    Final part of the error is
    Code:
      File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
        raise er.MultipleInvalid(errors)
    voluptuous.error.MultipleInvalid: value should be a string for dictionary value @ data['entity_id']

    Any suggestions?
  • daniel@paynefamily.co.uk
    Automated Home Jr Member
    • Jan 2020
    • 36

    #2
    Hi. I use the same in HA and it works perfectly. I recall having similar problems, so just make sure you only specify the entity to clear within the service data.

    Comment

    • daniel@paynefamily.co.uk
      Automated Home Jr Member
      • Jan 2020
      • 36

      #3
      - id: '1604612681498'
      alias: Evohome - State - Auto - Charlie's bedroom heating when he returns home
      description: ''
      trigger:
      - platform: state
      entity_id: person.charlie
      to: home
      condition: []
      action:
      - service: evohome.clear_zone_override
      data:
      entity_id: climate.charlie
      mode: single

      Comment

      • lloyd
        Automated Home Guru
        • Oct 2020
        • 160

        #4
        Originally posted by daniel@paynefamily.co.uk View Post
        Hi. I use the same in HA and it works perfectly. I recall having similar problems, so just make sure you only specify the entity to clear within the service data.
        I assume that you are running the current version of HA?

        Comment

        • daniel@paynefamily.co.uk
          Automated Home Jr Member
          • Jan 2020
          • 36

          #5
          Yes, but I’ve just noticed like yourself it now logs and error.

          Comment

          • lloyd
            Automated Home Guru
            • Oct 2020
            • 160

            #6
            There appears to have been a very similar issue back in 2018:

            Home Assistant release with the issue: 0.81.0 Last working Home Assistant release (if known): 0.80.3 Operating environment (Hass.io/Docker/Windows/etc.): Native (PIP); Ubuntu 18.04 under VMware ESX...

            Comment

            • lloyd
              Automated Home Guru
              • Oct 2020
              • 160

              #7
              Looks like 2020.12.1, released today, has resolved this.

              Comment

              Working...
              X