Skip to content

RainMachine Integration Not working - various issues with 1st Gen controller #68022

Closed
@sambeetm

Description

The problem

While setting-up the RainMachine integration, getting following error. it creates 1 device and 14 entities. No ZONE switches or program switches are created.

What version of Home Assistant Core has the issue?

core-2022.3.3

What was the last working version of Home Assistant Core?

unknown

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

RainMachine

Link to integration documentation on our website

https://www.home-assistant.io/integrations/rainmachine/

Diagnostics information

{
  "home_assistant": {
    "installation_type": "Home Assistant Supervised",
    "version": "2022.3.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.9",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/New_York",
    "os_name": "Linux",
    "os_version": "5.10.0-11-amd64",
    "supervisor": "2022.03.3",
    "host_os": "Debian GNU/Linux 11 (bullseye)",
    "docker_version": "20.10.12",
    "chassis": "laptop",
    "run_as_root": true
  },
  "custom_components": {
    "apple_tv": {
      "version": "3.0.1",
      "requirements": [
        "pyatv==0.10.0"
      ]
    },
    "hacs": {
      "version": "1.23.0",
      "requirements": [
        "aiogithubapi>=21.11.0"
      ]
    },
    "tuya_old": {
      "version": "2021.9.7",
      "requirements": [
        "tuyaha==0.0.10"
      ]
    },
    "alexa_media": {
      "version": "3.10.15",
      "requirements": [
        "alexapy==1.25.3",
        "packaging>=20.3",
        "wrapt>=1.12.1"
      ]
    },
    "nest_protect": {
      "version": "0.3.0",
      "requirements": []
    },
    "tesla_custom": {
      "version": "1.6.0",
      "requirements": [
        "teslajsonpy==1.8.0"
      ]
    },
    "samsungtv_smart": {
      "version": "0.5.0",
      "requirements": [
        "websocket-client>=0.58.0",
        "wakeonlan>=2.0.0",
        "aiofiles>=0.6.0"
      ]
    },
    "mail_and_packages": {
      "version": "0.3.3-2",
      "requirements": [
        "imageio>=2.9.0",
        "python-resize-image>=1.1.19"
      ]
    },
    "aarlo": {
      "version": "0.7.2b7",
      "requirements": [
        "unidecode",
        "cloudscraper>=1.2.58",
        "paho-mqtt"
      ]
    }
  },
  "integration_manifest": {
    "domain": "rainmachine",
    "name": "RainMachine",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/rainmachine",
    "requirements": [
      "regenmaschine==2022.01.0"
    ],
    "codeowners": [
      "@bachya"
    ],
    "iot_class": "local_polling",
    "homekit": {
      "models": [
        "Touch HD",
        "SPK5"
      ]
    },
    "zeroconf": [
      {
        "type": "_http._tcp.local.",
        "name": "rainmachine*"
      }
    ],
    "loggers": [
      "regenmaschine"
    ],
    "is_built_in": true
  },
  "data": {
    "entry": {
      "title": "MyRainMachine",
      "data": {
        "ip_address": "192.168.1.18",
        "password": "**REDACTED**",
        "port": 18443,
        "ssl": true
      },
      "options": {
        "zone_run_time": 600
      }
    },
    "data": {
      "coordinator": {
        "programs": {
          "43": {
            "uid": 43,
            "name": "Bushes & Plants",
            "active": false,
            "startTime": "08:00",
            "cycles": 0,
            "soak": 0,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 2,
              "param": "0010100100"
            },
            "coef": -999,
            "ignoreInternetWeather": false,
            "futureField1": -999,
            "freq_modified": 2,
            "useWaterSense": false,
            "nextRun": "2022-03-13",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 0,
                "active": false
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 600,
                "active": true
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 600,
                "active": true
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 600,
                "active": true
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 0,
                "active": false
              }
            ]
          },
          "44": {
            "uid": 44,
            "name": "Deep Lawn Watering",
            "active": false,
            "startTime": "04:30",
            "cycles": 2,
            "soak": 1800,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 2,
              "param": "0000100000"
            },
            "coef": -999,
            "ignoreInternetWeather": false,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-18",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 1200,
                "active": true
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 1200,
                "active": true
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 1200,
                "active": true
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 1200,
                "active": true
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 1200,
                "active": true
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 1200,
                "active": true
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 1200,
                "active": true
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 1200,
                "active": true
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 600,
                "active": true
              }
            ]
          },
          "49": {
            "uid": 49,
            "name": "Light Whole Lawn Watering",
            "active": false,
            "startTime": "04:30",
            "cycles": 2,
            "soak": 1800,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 2,
              "param": "0010100100"
            },
            "coef": -999,
            "ignoreInternetWeather": true,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-13",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 600,
                "active": true
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 900,
                "active": true
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 600,
                "active": true
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 900,
                "active": true
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 1800,
                "active": true
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 1200,
                "active": true
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 900,
                "active": true
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 900,
                "active": true
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 480,
                "active": true
              }
            ]
          },
          "50": {
            "uid": 50,
            "name": "Winter Blowout",
            "active": false,
            "startTime": "06:00",
            "cycles": 2,
            "soak": 1800,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 0,
              "param": "0"
            },
            "coef": -999,
            "ignoreInternetWeather": false,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-12",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 120,
                "active": true
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 120,
                "active": true
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 120,
                "active": true
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 120,
                "active": true
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 120,
                "active": true
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 120,
                "active": true
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 120,
                "active": true
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 120,
                "active": true
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 120,
                "active": true
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 120,
                "active": true
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 120,
                "active": true
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 120,
                "active": true
              }
            ]
          },
          "52": {
            "uid": 52,
            "name": "Woods",
            "active": false,
            "startTime": "12:00",
            "cycles": 2,
            "soak": 1800,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 0,
              "param": "0"
            },
            "coef": -999,
            "ignoreInternetWeather": false,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-12",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 0,
                "active": false
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 480,
                "active": true
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 0,
                "active": false
              }
            ]
          },
          "53": {
            "uid": 53,
            "name": "Woods1",
            "active": false,
            "startTime": "18:00",
            "cycles": 2,
            "soak": 1800,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 0,
              "param": "0"
            },
            "coef": -999,
            "ignoreInternetWeather": false,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-12",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 0,
                "active": false
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 600,
                "active": true
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 0,
                "active": false
              }
            ]
          },
          "54": {
            "uid": 54,
            "name": "Woods2",
            "active": false,
            "startTime": "12:00",
            "cycles": 2,
            "soak": 1800,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 0,
              "param": "0"
            },
            "coef": -999,
            "ignoreInternetWeather": false,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-12",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 0,
                "active": false
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 600,
                "active": true
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 0,
                "active": false
              }
            ]
          },
          "55": {
            "uid": 55,
            "name": "Overseeding 1",
            "active": false,
            "startTime": "04:15",
            "cycles": 2,
            "soak": 1800,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 0,
              "param": "0"
            },
            "coef": -999,
            "ignoreInternetWeather": true,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-12",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 360,
                "active": true
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 480,
                "active": true
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 300,
                "active": true
              }
            ]
          },
          "56": {
            "uid": 56,
            "name": "Overseeding 2",
            "active": false,
            "startTime": "18:30",
            "cycles": 2,
            "soak": 1800,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 0,
              "param": "0"
            },
            "coef": -999,
            "ignoreInternetWeather": true,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-12",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 360,
                "active": true
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 480,
                "active": true
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 0,
                "active": false
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 360,
                "active": true
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 300,
                "active": true
              }
            ]
          },
          "57": {
            "uid": 57,
            "name": "Bushes & Plants-Evening",
            "active": false,
            "startTime": "17:30",
            "cycles": 0,
            "soak": 0,
            "cs_on": false,
            "delay": 0,
            "delay_on": false,
            "status": 0,
            "frequency": {
              "type": 2,
              "param": "0010100100"
            },
            "coef": -999,
            "ignoreInternetWeather": false,
            "futureField1": -999,
            "freq_modified": 1,
            "useWaterSense": false,
            "nextRun": "2022-03-13",
            "wateringTimes": [
              {
                "id": 1,
                "name": "1-Front Lawn & Side Walk",
                "duration": 0,
                "active": false
              },
              {
                "id": 2,
                "name": "2-Front Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 3,
                "name": "3-Front Left Bush Bed",
                "duration": 600,
                "active": true
              },
              {
                "id": 4,
                "name": "4-Front Right Bush Bed",
                "duration": 600,
                "active": true
              },
              {
                "id": 5,
                "name": "5-Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 6,
                "name": "6-Back Left Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 7,
                "name": "7-Back Middle Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 8,
                "name": "8-Back Woods Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 9,
                "name": "9-Back Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 10,
                "name": "10-Back & Right Flower Bed",
                "duration": 600,
                "active": true
              },
              {
                "id": 11,
                "name": "11-Right Lawn",
                "duration": 0,
                "active": false
              },
              {
                "id": 12,
                "name": "12-Driveway Right Lawn",
                "duration": 0,
                "active": false
              }
            ]
          }
        },
        "provision.settings": {
          "system": {
            "httpEnabled": true,
            "programSingleSchedule": false,
            "mixerHistorySize": 60,
            "programZonesShowInactive": false,
            "standaloneMode": false,
            "masterValveAfter": 0,
            "apiVersion": "3.64",
            "selfTest": false,
            "defaultZoneWateringDuration": 300,
            "maxLEDBrightness": 80,
            "simulatorHistorySize": 0,
            "masterValveBefore": 0,
            "touchProgramToRun": "null",
            "useRainSensor": false,
            "wizardHasRun": true,
            "waterLogHistorySize": 60,
            "netName": "MyRainMachine",
            "touchSleepTimeout": 10,
            "touchAdvanced": false,
            "hardwareVersion": 1,
            "touchLongPressTimeout": 3,
            "parserDataSizeInDays": 6,
            "programListShowInactive": true,
            "parserHistorySize": 60,
            "minLEDBrightness": 0,
            "minWateringDurationThreshold": 0,
            "localValveCount": 12,
            "touchAuthAPSeconds": 60,
            "useCommandLineArguments": false,
            "databasePath": "/rainmachine-app/DB/Default",
            "touchCyclePrograms": true,
            "zoneListShowInactive": true,
            "zoneDuration": [
              300,
              300,
              300,
              300,
              300,
              300,
              300,
              300,
              300,
              300,
              300,
              300
            ],
            "useCorrectionForPast": false,
            "useMasterValve": false,
            "maxWateringCoef": 2
          },
          "location": {
            "stationID": 9057,
            "elevation": 91.365028,
            "doyDownloaded": true,
            "zip": "xxxxxxx",
            "windSensitivity": 0.5,
            "krs": 0.19,
            "state": "Default",
            "stationSource": "station",
            "et0Average": 5.161737,
            "latitude": "**REDACTED**",
            "windElevation": 2,
            "stationName": "WILLOW GROVE NAS",
            "wsDays": 2,
            "stationDownloaded": true,
            "address": "Default",
            "rainSensitivity": 0.8,
            "timezone": "America/New_York",
            "longitude": "**REDACTED**",
            "name": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          }
        },
        "restrictions.current": null,
        "restrictions.universal": null,
        "zones": null
      },
      "controller": {
        "api_version": "3.64",
        "hardware_version": 1,
        "name": "MyRainMachine",
        "software_version": "3.74"
      }
    }
  }
}

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-03-11 22:45:22 ERROR (MainThread) [homeassistant.components.rainmachine] Error fetching MyRainMachine ("restrictions.universal") data: Error requesting data from https://192.168.1.18:18443/api/4/restrictions/global
2022-03-11 22:45:22 ERROR (MainThread) [homeassistant.components.rainmachine] Error fetching MyRainMachine ("restrictions.current") data: Error requesting data from https://192.168.1.18:18443/api/4/restrictions/currently
2022-03-11 22:45:22 ERROR (MainThread) [homeassistant.components.rainmachine] Unexpected error fetching MyRainMachine ("zones") data: 'active'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
    return await self.update_method()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 228, in async_update
    data = await controller.zones.all(details=True, include_inactive=True)
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/zone.py", line 36, in all
    return {
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/zone.py", line 42, in <dictcomp>
    if zone["active"] or include_inactive
KeyError: 'active'
2022-03-11 22:45:22 ERROR (MainThread) [homeassistant.components.switch] Error while setting up rainmachine platform for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 159, in async_setup_entry
    for uid, data in coordinator.data.items():
AttributeError: 'NoneType' object has no attribute 'items'
2022-03-11 22:45:22 ERROR (MainThread) [homeassistant.components.binary_sensor] Error adding entities for domain binary_sensor with platform rainmachine
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 800, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 444, in async_added_to_hass
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:45:22 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform rainmachine
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 800, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 444, in async_added_to_hass
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/sensor.py", line 164, in update_from_latest_data
    self._attr_native_value = self.coordinator.data["freezeProtectTemp"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:45:22 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up rainmachine platform for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 800, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 444, in async_added_to_hass
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:45:22 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up rainmachine platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 800, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 444, in async_added_to_hass
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/sensor.py", line 164, in update_from_latest_data
    self._attr_native_value = self.coordinator.data["freezeProtectTemp"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:46:30 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 189, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freezeProtectEnabled"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:46:30 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:47:38 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:47:38 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 189, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freezeProtectEnabled"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:48:46 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:48:46 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 189, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freezeProtectEnabled"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:49:54 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 189, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freezeProtectEnabled"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:49:54 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:51:02 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 189, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freezeProtectEnabled"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:51:02 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:52:10 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 189, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freezeProtectEnabled"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:52:10 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:53:18 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 189, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freezeProtectEnabled"]
TypeError: 'NoneType' object is not subscriptable
2022-03-11 22:53:18 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 438, in _handle_coordinator_update
    self.update_from_latest_data()
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/binary_sensor.py", line 159, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions