home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.68k stars 30.8k forks source link

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

Closed sambeetm closed 2 years ago

sambeetm commented 2 years ago

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
sambeetm commented 2 years ago

@bachya . Could you please take a look ? Thanks.

bachya commented 2 years ago

Please fill out the entire issue template (including posting a diagnostics dump).

sambeetm commented 2 years ago

Please fill out the entire issue template (including posting a diagnostics dump).

Added..Thanks

bachya commented 2 years ago

Your device isn't showing any zones – from the bottom of the diagnostics dump:

"zones": null

Does the device have any software/firmware updates pending?

probot-home-assistant[bot] commented 2 years ago

rainmachine documentation rainmachine source (message by IssueLinks)

sambeetm commented 2 years ago

Nope. 3.74 is the latest. Works fine from the native app and integrates with SmartThings as well.

bachya commented 2 years ago

Re-opening this as @CZonin posted a similar issue in 72561.

@CZonin, your diagnostics dump shows a similar result:

"zones": null

So, your device is failing to return zone information via the API like we expect. How comfortable are you on the command line or with a tool like Postman? It'd be great if you could run this API call against your device and paste what it returns. Let me know what assistance you need?

CZonin commented 2 years ago

Fairly comfortable but can't figure it out. Just signed up for Postman and trying to get it to work now.

I'm free for a few if you want to jump on Discord or something quick.

bachya commented 2 years ago

Sure – I am bachya#9921.

bachya commented 2 years ago

Thanks for jumping on a call, @CZonin. I found the issue: it appears that 1st generation devices omit the active key from the zones API response (whereas later generations include it). Will need to fix it in regenmaschine. I'll make sure it's in the next beta!

CZonin commented 2 years ago

Awesome! I'll test it out and report back.

CZonin commented 2 years ago

With 2022.06.0b2 the entities are now showing but are unavailable.

config_entry-rainmachine-e904e45eb94d8b190610bc121cf7cd65.json.txt

Logger: homeassistant.components.rainmachine
Source: helpers/update_coordinator.py:223
Integration: RainMachine (documentation, issues)
First occurred: 5:05:38 PM (2 occurrences)
Last logged: 5:05:38 PM

Error fetching RainMachine ("restrictions.current") data: Error requesting data from https://192.168.86.191:443/api/4/restrictions/currently
Error fetching RainMachine ("restrictions.universal") data: Error requesting data from https://192.168.86.191:443/api/4/restrictions/global
Logger: homeassistant.components.binary_sensor
Source: components/rainmachine/binary_sensor.py:161
Integration: Binary sensor (documentation, issues)
First occurred: 5:05:38 PM (2 occurrences)
Last logged: 5:05:38 PM

Error adding entities for domain binary_sensor with platform rainmachine
Error while setting up rainmachine platform for binary_sensor
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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 161, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
Logger: homeassistant.components.sensor
Source: components/rainmachine/sensor.py:201
Integration: Sensor (documentation, issues)
First occurred: 5:05:38 PM (2 occurrences)
Last logged: 5:05:38 PM

Error adding entities for domain sensor with platform rainmachine
Error while setting up rainmachine platform for sensor
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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 201, in update_from_latest_data
    self._attr_native_value = self.coordinator.data["freezeProtectTemp"]
TypeError: 'NoneType' object is not subscriptable
Logger: homeassistant.components.switch
Source: components/rainmachine/switch.py:394
Integration: Switch (documentation, issues)
First occurred: 5:05:38 PM (2 occurrences)
Last logged: 5:05:38 PM

Error adding entities for domain switch with platform rainmachine
Error while setting up rainmachine platform for switch
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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/switch.py", line 394, in update_from_latest_data
    ATTR_AREA: round(data["waterSense"]["area"], 2),
KeyError: 'area'
Logger: homeassistant
Source: components/rainmachine/binary_sensor.py:191
First occurred: 5:06:45 PM (2 occurrences)
Last logged: 5:07:50 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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 191, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freezeProtectEnabled"]
TypeError: 'NoneType' object is not subscriptable
Logger: homeassistant
Source: components/rainmachine/binary_sensor.py:161
First occurred: 5:06:45 PM (2 occurrences)
Last logged: 5:07:50 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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 161, in update_from_latest_data
    self._attr_is_on = self.coordinator.data["freeze"]
TypeError: 'NoneType' object is not subscriptable
Logger: homeassistant
Source: components/rainmachine/switch.py:394
First occurred: 5:05:55 PM (10 occurrences)
Last logged: 5:08:24 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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/switch.py", line 394, in update_from_latest_data
    ATTR_AREA: round(data["waterSense"]["area"], 2),
KeyError: 'area'
bachya commented 2 years ago

Looks like more issues where 1st generation devices don't have all the data points that I'm assuming are there.

bachya commented 2 years ago

@CZonin Check out the latest beta and let me know!

CZonin commented 2 years ago

@bachya Similar issue as the previous release. Entities are there but unavailable.

config_entry-rainmachine-96d72076c8d7c02c1a424485b7f143c7.json.txt

Logger: homeassistant.components.rainmachine
Source: helpers/update_coordinator.py:223
Integration: RainMachine (documentation, issues)
First occurred: 6:57:51 PM (4 occurrences)
Last logged: 7:01:01 PM

Error fetching RainMachine ("restrictions.universal") data: Error requesting data from https://192.168.86.191:443/api/4/restrictions/global
Error fetching RainMachine ("restrictions.current") data: Error requesting data from https://192.168.86.191:443/api/4/restrictions/currently
Logger: homeassistant.components.binary_sensor
Source: components/rainmachine/binary_sensor.py:161
Integration: Binary sensor (documentation, issues)
First occurred: 6:57:51 PM (4 occurrences)
Last logged: 7:01:02 PM

Error adding entities for domain binary_sensor with platform rainmachine
Error while setting up rainmachine platform for binary_sensor
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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 161, in update_from_latest_data
    self._attr_is_on = self.coordinator.data.get("freeze")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant.components.sensor
Source: components/rainmachine/sensor.py:201
Integration: Sensor (documentation, issues)
First occurred: 6:57:51 PM (4 occurrences)
Last logged: 7:01:02 PM

Error adding entities for domain sensor with platform rainmachine
Error while setting up rainmachine platform for sensor
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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 201, in update_from_latest_data
    self._attr_native_value = self.coordinator.data.get("freezeProtectTemp")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant.components.switch
Source: components/rainmachine/switch.py:396
Integration: Switch (documentation, issues)
First occurred: 6:57:51 PM (4 occurrences)
Last logged: 7:01:02 PM

Error adding entities for domain switch with platform rainmachine
Error while setting up rainmachine platform for switch
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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/switch.py", line 396, in update_from_latest_data
    ATTR_RESTRICTIONS: data("restriction"),
TypeError: 'dict' object is not callable
Logger: homeassistant
Source: components/rainmachine/binary_sensor.py:191
First occurred: 6:58:58 PM (4 occurrences)
Last logged: 7:03:14 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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 191, in update_from_latest_data
    self._attr_is_on = self.coordinator.data.get("freezeProtectEnabled")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant
Source: components/rainmachine/binary_sensor.py:161
First occurred: 6:58:58 PM (4 occurrences)
Last logged: 7:03:14 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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 161, in update_from_latest_data
    self._attr_is_on = self.coordinator.data.get("freeze")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant
Source: components/rainmachine/switch.py:396
First occurred: 6:58:08 PM (18 occurrences)
Last logged: 7:03:32 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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/switch.py", line 396, in update_from_latest_data
    ATTR_RESTRICTIONS: data("restriction"),
TypeError: 'dict' object is not callable
sambeetm commented 2 years ago

@CZonin How do you install beta integration ? I can also help in testing as I have the Gen 1 as well.

CZonin commented 2 years ago

@sambeetm It's in the 2022.6.0 core beta.

Settings > System > Updates > 3 dot menu (top right corner of screen) > Beta channel

bachya commented 2 years ago

@bachya Similar issue as the previous release. Entities are there but unavailable.

config_entry-rainmachine-96d72076c8d7c02c1a424485b7f143c7.json.txt

Logger: homeassistant.components.rainmachine
Source: helpers/update_coordinator.py:223
Integration: RainMachine (documentation, issues)
First occurred: 6:57:51 PM (4 occurrences)
Last logged: 7:01:01 PM

Error fetching RainMachine ("restrictions.universal") data: Error requesting data from https://192.168.86.191:443/api/4/restrictions/global
Error fetching RainMachine ("restrictions.current") data: Error requesting data from https://192.168.86.191:443/api/4/restrictions/currently

I see one minor fix I can make, but the other/above issues are occurring because of these first two lines: those API calls fail, which means no data is returned, which means that subsequent attempts to access that data fail. It's unfortunately how unhelpful that log is.

Could you try enabling debug logging, restart, and see if any new info pops up?

logger:
  default: info
  logs:
    homeassistant.components.rainmachine: debug
    regenmaschine: debug
CZonin commented 2 years ago

config_entry-rainmachine-96d72076c8d7c02c1a424485b7f143c7.json.txt

Logger: homeassistant.components.rainmachine
Source: helpers/update_coordinator.py:223
Integration: RainMachine (documentation, issues)
First occurred: 8:31:19 PM (2 occurrences)
Last logged: 8:31:19 PM

Error fetching RainMachine ("restrictions.current") data: Error requesting data from https://192.168.86.191:443/api/4/restrictions/currently
Error fetching RainMachine ("restrictions.universal") data: Error requesting data from https://192.168.86.191:443/api/4/restrictions/global
Logger: homeassistant.components.binary_sensor
Source: components/rainmachine/binary_sensor.py:161
Integration: Binary sensor (documentation, issues)
First occurred: 8:31:19 PM (2 occurrences)
Last logged: 8:31:19 PM

Error adding entities for domain binary_sensor with platform rainmachine
Error while setting up rainmachine platform for binary_sensor
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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 161, in update_from_latest_data
    self._attr_is_on = self.coordinator.data.get("freeze")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant.components.sensor
Source: components/rainmachine/sensor.py:201
Integration: Sensor (documentation, issues)
First occurred: 8:31:19 PM (2 occurrences)
Last logged: 8:31:19 PM

Error adding entities for domain sensor with platform rainmachine
Error while setting up rainmachine platform for sensor
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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 201, in update_from_latest_data
    self._attr_native_value = self.coordinator.data.get("freezeProtectTemp")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant.components.switch
Source: components/rainmachine/switch.py:396
Integration: Switch (documentation, issues)
First occurred: 8:31:19 PM (2 occurrences)
Last logged: 8:31:19 PM

Error adding entities for domain switch with platform rainmachine
Error while setting up rainmachine platform for switch
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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/switch.py", line 396, in update_from_latest_data
    ATTR_RESTRICTIONS: data("restriction"),
TypeError: 'dict' object is not callable
Logger: homeassistant
Source: components/rainmachine/binary_sensor.py:191
First occurred: 8:32:26 PM (1 occurrences)
Last logged: 8:32:26 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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 191, in update_from_latest_data
    self._attr_is_on = self.coordinator.data.get("freezeProtectEnabled")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant
Source: components/rainmachine/binary_sensor.py:161
First occurred: 8:32:26 PM (1 occurrences)
Last logged: 8:32:26 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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 161, in update_from_latest_data
    self._attr_is_on = self.coordinator.data.get("freeze")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant
Source: components/rainmachine/switch.py:396
First occurred: 8:31:36 PM (7 occurrences)
Last logged: 8:33:17 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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/switch.py", line 396, in update_from_latest_data
    ATTR_RESTRICTIONS: data("restriction"),
TypeError: 'dict' object is not callable
CZonin commented 2 years ago

Entities are now available and partially functioning. Turning on a zone worked, but got an error when turning it off. Turning the switch on again turned off the zone.

config_entry-rainmachine-719d25807a431b5d174c37e2f3fd189b.json.txt

Logger: homeassistant.components.rainmachine
Source: helpers/update_coordinator.py:223
Integration: RainMachine (documentation, issues)
First occurred: 9:33:17 AM (2 occurrences)
Last logged: 9:33:17 AM

Error fetching RainMachine ("restrictions.universal") data: Error requesting data from https://192.168.86.191:18443/api/4/restrictions/global: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/restrictions/global?access_token=HCKKINNIFOMGOILE')
Error fetching RainMachine ("restrictions.current") data: Error requesting data from https://192.168.86.191:18443/api/4/restrictions/currently: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/restrictions/currently?access_token=HCKKINNIFOMGOILE')
Logger: homeassistant.components.sensor
Source: components/rainmachine/sensor.py:201
Integration: Sensor (documentation, issues)
First occurred: 9:33:45 AM (2 occurrences)
Last logged: 9:33:45 AM

Error adding entities for domain sensor with platform rainmachine
Error while setting up rainmachine platform for sensor
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 619, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, 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 201, in update_from_latest_data
    self._attr_native_value = self.coordinator.data.get("freezeProtectTemp")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant.components.websocket_api.http.connection
Source: components/rainmachine/switch.py:209
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:35:43 AM (2 occurrences)
Last logged: 9:36:13 AM

[140101965013584] Error while executing stop on "RainMachine Z4 - Back Lawn": Error requesting data from https://192.168.86.191:18443/api/4/zone/4/stop: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/zone/4/stop?access_token=HCKKINNIFOMGOILE')
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 113, in _request_with_session
    resp.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/zone/4/stop?access_token=HCKKINNIFOMGOILE')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 207, in _async_run_api_coroutine
    resp = await api_coro
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/zone.py", line 72, in stop
    return await self._request("post", f"zone/{zone_id}/stop")
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/controller.py", line 51, in _request
    return await self._client_request(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 80, in _request
    return await self._request_with_session(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 121, in _request_with_session
    raise RequestError(f"Error requesting data from {url}: {err}") from err
regenmaschine.errors.RequestError: Error requesting data from https://192.168.86.191:18443/api/4/zone/4/stop: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/zone/4/stop?access_token=HCKKINNIFOMGOILE')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1704, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1741, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 255, in async_turn_off
    await self.async_turn_off_when_active(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 372, in async_turn_off_when_active
    await self._async_run_api_coroutine(
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 209, in _async_run_api_coroutine
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error while executing stop on "RainMachine Z4 - Back Lawn": Error requesting data from https://192.168.86.191:18443/api/4/zone/4/stop: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/zone/4/stop?access_token=HCKKINNIFOMGOILE')
Logger: homeassistant
Source: components/rainmachine/binary_sensor.py:191
First occurred: 9:34:22 AM (4 occurrences)
Last logged: 9:37:26 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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 191, in update_from_latest_data
    self._attr_is_on = self.coordinator.data.get("freezeProtectEnabled")
AttributeError: 'NoneType' object has no attribute 'get'
Logger: homeassistant
Source: components/rainmachine/binary_sensor.py:161
First occurred: 9:34:22 AM (4 occurrences)
Last logged: 9:37:26 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 137, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 270, 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 161, in update_from_latest_data
    self._attr_is_on = self.coordinator.data.get("freeze")
AttributeError: 'NoneType' object has no attribute 'get'
bachya commented 2 years ago

Getting there! Looks like we have two issues here:

The first can be handled, but the second will needs some debugging.

bachya commented 2 years ago

Turning on a zone worked, but got an error when turning it off. Turning the switch on again turned off the zone.

@CZonin Can you share any DEBUG-level logs for homeassistant.components.rainmachine and regenmaschine? I'm curious about this one.

CZonin commented 2 years ago

@bachya Just installed 0b6 and strangely the run completed time sensors are no longer available. They worked in all the previous versions. The zones are still functioning though.

Here's a ton of debug logs:

2022-05-31 19:58:50 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/auth/login: {'statusCode': 0, 'access_token': 'KCOMFIAGKMFIDENI', 'expires_in': 157680000}
2022-05-31 19:58:51 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/provision/wifi: {'macAddress': 'c4:6e:1f:1b:85:a4', 'ssid': 'N/A', 'netmaskAddress': 'N/A', 'hasClientLink': True, 'mode': 'N/A', 'interface': 'wlan0', 'lastWIFICheckTimestamp': 0, 'ipAddress': '192.168.86.191/24'}
2022-05-31 19:58:51 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/apiVer: {'apiVer': '3.64', 'hwVer': 1, 'swVer': '3.80', 'buildDate': 'Dec 8 2015', 'buildTime': '19:58:35'}
2022-05-31 19:58:51 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/provision/name: {'name': 'RainMachine'}
2022-05-31 19:59:05 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 19:59:05 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 13.888 seconds (success: True)
2022-05-31 19:59:06 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("restrictions.current") data in 14.561 seconds (success: False)
2022-05-31 19:59:06 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/provision: {'system': {'httpEnabled': True, 'programSingleSchedule': False, 'mixerHistorySize': 60, 'programZonesShowInactive': False, 'standaloneMode': False, 'masterValveAfter': -1, 'apiVersion': '3.64', 'selfTest': False, 'defaultZoneWateringDuration': 300, 'maxLEDBrightness': 80, 'simulatorHistorySize': 0, 'masterValveBefore': -1, 'touchProgramToRun': 'null', 'useRainSensor': False, 'wizardHasRun': True, 'waterLogHistorySize': 60, 'netName': 'RainMachine', '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': 4932, 'elevation': 65.36692, 'doyDownloaded': True, 'zip': '11746', 'windSensitivity': 0.5, 'krs': 0.19, 'state': 'Default', 'stationSource': 'station', 'et0Average': 4.892649, 'latitude': 40.822136, 'windElevation': 2, 'stationName': 'CENTERPORT', 'wsDays': 2, 'stationDownloaded': True, 'address': 'Default', 'rainSensitivity': 0.8, 'timezone': 'America/New_York', 'longitude': -73.395159, 'name': 'Independence Pl, South Huntington, NY 11746, USA'}}
2022-05-31 19:59:06 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("provision.settings") data in 14.629 seconds (success: True)
2022-05-31 19:59:06 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("restrictions.universal") data in 14.724 seconds (success: False)
2022-05-31 19:59:06 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 19:59:06 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 19:59:06 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 15.022 seconds (success: True)
2022-05-31 19:59:31 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 19:59:31 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 19:59:31 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 6.229 seconds (success: True)
2022-05-31 19:59:43 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 19:59:43 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 3.255 seconds (success: True)
2022-05-31 19:59:48 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 19:59:49 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 19:59:49 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 3.257 seconds (success: True)
2022-05-31 20:00:10 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:00:10 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:00:10 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 6.392 seconds (success: True)
2022-05-31 20:00:13 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 20:00:13 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 0.361 seconds (success: True)
2022-05-31 20:00:33 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/auth/login: {'statusCode': 0, 'access_token': 'DFDHLMMAFLIKCHNO', 'expires_in': 157680000}
2022-05-31 20:00:34 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:00:34 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:00:34 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 9.135 seconds (success: True)
2022-05-31 20:00:34 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/provision/wifi: {'macAddress': 'c4:6e:1f:1b:85:a4', 'ssid': 'N/A', 'netmaskAddress': 'N/A', 'hasClientLink': True, 'mode': 'N/A', 'interface': 'wlan0', 'lastWIFICheckTimestamp': 0, 'ipAddress': '192.168.86.191/24'}
2022-05-31 20:00:34 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/apiVer: {'apiVer': '3.64', 'hwVer': 1, 'swVer': '3.80', 'buildDate': 'Dec 8 2015', 'buildTime': '19:58:35'}
2022-05-31 20:00:35 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/provision/name: {'name': 'RainMachine'}
2022-05-31 20:00:43 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 20:00:43 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 8.736 seconds (success: True)
2022-05-31 20:00:43 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("restrictions.current") data in 8.883 seconds (success: False)
2022-05-31 20:00:43 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/provision: {'system': {'httpEnabled': True, 'programSingleSchedule': False, 'mixerHistorySize': 60, 'programZonesShowInactive': False, 'standaloneMode': False, 'masterValveAfter': -1, 'apiVersion': '3.64', 'selfTest': False, 'defaultZoneWateringDuration': 300, 'maxLEDBrightness': 80, 'simulatorHistorySize': 0, 'masterValveBefore': -1, 'touchProgramToRun': 'null', 'useRainSensor': False, 'wizardHasRun': True, 'waterLogHistorySize': 60, 'netName': 'RainMachine', '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': 4932, 'elevation': 65.36692, 'doyDownloaded': True, 'zip': '11746', 'windSensitivity': 0.5, 'krs': 0.19, 'state': 'Default', 'stationSource': 'station', 'et0Average': 4.892649, 'latitude': 40.822136, 'windElevation': 2, 'stationName': 'CENTERPORT', 'wsDays': 2, 'stationDownloaded': True, 'address': 'Default', 'rainSensitivity': 0.8, 'timezone': 'America/New_York', 'longitude': -73.395159, 'name': 'Independence Pl, South Huntington, NY 11746, USA'}}
2022-05-31 20:00:43 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("provision.settings") data in 8.890 seconds (success: True)
2022-05-31 20:00:44 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("restrictions.universal") data in 9.061 seconds (success: False)
2022-05-31 20:00:44 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:00:44 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:00:44 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 9.495 seconds (success: True)
2022-05-31 20:01:05 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:01:05 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:01:05 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 6.262 seconds (success: True)
2022-05-31 20:01:17 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 20:01:17 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 3.291 seconds (success: True)
2022-05-31 20:01:23 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:01:23 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:01:23 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 3.623 seconds (success: True)
2022-05-31 20:01:44 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:01:44 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:01:44 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 6.128 seconds (success: True)
2022-05-31 20:01:47 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 20:01:47 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 0.388 seconds (success: True)
2022-05-31 20:02:05 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:02:05 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:02:05 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 6.271 seconds (success: True)
2022-05-31 20:02:25 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 20:02:25 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 8.620 seconds (success: True)
2022-05-31 20:02:26 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:02:26 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:02:26 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 6.218 seconds (success: True)
bachya commented 2 years ago

@CZonin Do those logs include a time where you attempt to start and stop a zone?

CZonin commented 2 years ago

@bachya No sorry they didn't. Here's some new ones:

2022-05-31 20:17:54 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:17:54 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 1, 'userDuration': 0, 'machineDuration': 0, 'remaining': 569, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:17:54 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 6.570 seconds (success: True)
2022-05-31 20:18:05 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 20:18:05 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 3.408 seconds (success: True)
2022-05-31 20:18:11 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 1, 'userDuration': 0, 'machineDuration': 0, 'remaining': 554, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:18:12 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:18:12 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 3.377 seconds (success: True)
2022-05-31 20:18:18 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/4/start: {'statusCode': 0, 'message': 'Action Successful'}
2022-05-31 20:18:29 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 0, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': 'Zone 5', 'valveid': 5, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': 'Zone 6', 'valveid': 6, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': 'Zone 7', 'valveid': 7, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': 'Zone 8', 'valveid': 8, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': 'Zone 9', 'valveid': 9, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': 'Zone 10', 'valveid': 10, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': 'Zone 11', 'valveid': 11, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': 'Zone 12', 'valveid': 12, 'ETcoef': 0, 'active': False, 'type': 8, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 20:18:29 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/zone: {'zones': [{'uid': 1, 'name': 'Z1 - Front Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 2, 'name': 'Z2 - Flower Beds', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 3, 'name': 'Z3 - Side Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 4, 'name': 'Z4 - Back Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 0, 'master': False, 'waterSense': False}, {'uid': 5, 'name': 'Zone 5', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 6, 'name': 'Zone 6', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 7, 'name': 'Zone 7', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 8, 'name': 'Zone 8', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 9, 'name': 'Zone 9', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 10, 'name': 'Zone 10', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 11, 'name': 'Zone 11', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}, {'uid': 12, 'name': 'Zone 12', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 8, 'master': False, 'waterSense': False}]}
2022-05-31 20:18:29 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("zones") data in 10.429 seconds (success: True)
2022-05-31 20:18:29 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.86.191:18443/api/4/program: {'programs': [{'uid': 70, 'name': 'Normal Program', 'active': True, 'startTime': '01:30', 'cycles': 0, 'soak': 0, 'cs_on': False, 'delay': 0, 'delay_on': False, 'status': 0, 'frequency': {'type': 1, 'param': '2'}, 'coef': -999, 'ignoreInternetWeather': False, 'futureField1': -999, 'freq_modified': 6, 'useWaterSense': False, 'nextRun': '2022-06-01', 'wateringTimes': [{'id': 1, 'name': 'Z1 - Front Lawn', 'duration': 900, 'active': True}, {'id': 2, 'name': 'Z2 - Flower Beds', 'duration': 900, 'active': True}, {'id': 3, 'name': 'Z3 - Side Lawn', 'duration': 900, 'active': True}, {'id': 4, 'name': 'Z4 - Back Lawn', 'duration': 900, 'active': True}]}]}
2022-05-31 20:18:29 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching RainMachine ("programs") data in 10.514 seconds (success: True)
bachya commented 2 years ago

That last set doesn't show any errors; are your zones working now?

CZonin commented 2 years ago

No same issue as earlier. That was everything that showed in the full logs labelled 'debug'. There was a normal log for the error though:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/rainmachine/switch.py:209
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 8:18:00 PM (1 occurrences)
Last logged: 8:18:00 PM

[140413577070192] Error while executing stop on "RainMachine Z4 - Back Lawn": Error requesting data from https://192.168.86.191:18443/api/4/zone/4/stop: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/zone/4/stop?access_token=DFDHLMMAFLIKCHNO')
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 113, in _request_with_session
    resp.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/zone/4/stop?access_token=DFDHLMMAFLIKCHNO')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 207, in _async_run_api_coroutine
    resp = await api_coro
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/zone.py", line 72, in stop
    return await self._request("post", f"zone/{zone_id}/stop")
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/controller.py", line 51, in _request
    return await self._client_request(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 80, in _request
    return await self._request_with_session(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 121, in _request_with_session
    raise RequestError(f"Error requesting data from {url}: {err}") from err
regenmaschine.errors.RequestError: Error requesting data from https://192.168.86.191:18443/api/4/zone/4/stop: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/zone/4/stop?access_token=DFDHLMMAFLIKCHNO')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1704, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1741, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 255, in async_turn_off
    await self.async_turn_off_when_active(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 372, in async_turn_off_when_active
    await self._async_run_api_coroutine(
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 209, in _async_run_api_coroutine
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error while executing stop on "RainMachine Z4 - Back Lawn": Error requesting data from https://192.168.86.191:18443/api/4/zone/4/stop: 400, message='Bad Request', url=URL('https://192.168.86.191:18443/api/4/zone/4/stop?access_token=DFDHLMMAFLIKCHNO')
sambeetm commented 2 years ago

This is from my setup...Stop is throwing error. If this helps.

2022-05-31 23:46:55 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 2, 'name': '2-Front Middle Lawn', 'state': 1, 'userDuration': 0, 'machineDuration': 0, 'remaining': 586, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 5, 'name': '5-Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 6, 'name': '6-Back Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 7, 'name': '7-Back Middle Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 8, 'name': '8-Back Woods Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 9, 'name': '9-Back Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 11, 'name': '11-Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}]}
2022-05-31 23:46:55 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': '2-Front Middle Lawn', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': '5-Left Lawn', 'valveid': 5, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': '6-Back Left Lawn', 'valveid': 6, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': '7-Back Middle Lawn', 'valveid': 7, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': '8-Back Woods Lawn', 'valveid': 8, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': '9-Back Right Lawn', 'valveid': 9, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'valveid': 10, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': '11-Right Lawn', 'valveid': 11, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'valveid': 12, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 23:46:55 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching MyRainMachine ("zones") data in 13.767 seconds (success: True)
2022-05-31 23:46:57 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/program: {'programs': [{'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-06-03', '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}]}, {'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-06-03', '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}]}, {'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-06-03', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-03', '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}]}]}
2022-05-31 23:46:57 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching MyRainMachine ("programs") data in 15.414 seconds (success: True)
2022-05-31 23:47:17 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 2, 'name': '2-Front Middle Lawn', 'state': 1, 'userDuration': 0, 'machineDuration': 0, 'remaining': 564, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 5, 'name': '5-Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 6, 'name': '6-Back Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 7, 'name': '7-Back Middle Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 8, 'name': '8-Back Woods Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 9, 'name': '9-Back Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 11, 'name': '11-Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}]}
2022-05-31 23:47:17 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': '2-Front Middle Lawn', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': '5-Left Lawn', 'valveid': 5, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': '6-Back Left Lawn', 'valveid': 6, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': '7-Back Middle Lawn', 'valveid': 7, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': '8-Back Woods Lawn', 'valveid': 8, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': '9-Back Right Lawn', 'valveid': 9, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'valveid': 10, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': '11-Right Lawn', 'valveid': 11, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'valveid': 12, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 23:47:17 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching MyRainMachine ("zones") data in 7.299 seconds (success: True)
2022-05-31 23:47:40 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall switch.turn_off (c:01G4EP086PDRJPCDTT4X5GR7EC): entity_id=['switch.myrainmachine_2_front_middle_lawn']>
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 113, in _request_with_session
    resp.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/zone/2/stop?access_token=PMCEEHDOJNJGCHKB')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 207, in _async_run_api_coroutine
    resp = await api_coro
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/zone.py", line 72, in stop
    return await self._request("post", f"zone/{zone_id}/stop")
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/controller.py", line 51, in _request
    return await self._client_request(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 80, in _request
    return await self._request_with_session(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 121, in _request_with_session
    raise RequestError(f"Error requesting data from {url}: {err}") from err
regenmaschine.errors.RequestError: Error requesting data from https://192.168.1.18:18443/api/4/zone/2/stop: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/zone/2/stop?access_token=PMCEEHDOJNJGCHKB')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1722, in catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1741, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 255, in async_turn_off
    await self.async_turn_off_when_active(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 372, in async_turn_off_when_active
    await self._async_run_api_coroutine(
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 209, in _async_run_api_coroutine
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error while executing stop on "MyRainMachine 2-Front Middle Lawn": Error requesting data from https://192.168.1.18:18443/api/4/zone/2/stop: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/zone/2/stop?access_token=PMCEEHDOJNJGCHKB')
2022-05-31 23:47:41 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': '2-Front Middle Lawn', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': '5-Left Lawn', 'valveid': 5, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': '6-Back Left Lawn', 'valveid': 6, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': '7-Back Middle Lawn', 'valveid': 7, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': '8-Back Woods Lawn', 'valveid': 8, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': '9-Back Right Lawn', 'valveid': 9, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'valveid': 10, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': '11-Right Lawn', 'valveid': 11, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'valveid': 12, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-05-31 23:47:41 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 2, 'name': '2-Front Middle Lawn', 'state': 1, 'userDuration': 0, 'machineDuration': 0, 'remaining': 541, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 5, 'name': '5-Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 6, 'name': '6-Back Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 7, 'name': '7-Back Middle Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 8, 'name': '8-Back Woods Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 9, 'name': '9-Back Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 11, 'name': '11-Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}]}
2022-05-31 23:47:41 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching MyRainMachine ("zones") data in 9.183 seconds (success: True)
2022-05-31 23:47:42 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/program: {'programs': [{'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-06-03', '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}]}, {'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-06-03', '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}]}, {'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-06-03', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-01', '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}]}, {'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-06-03', '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}]}]}
2022-05-31 23:47:42 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching MyRainMachine ("programs") data in 15.924 seconds (success: True)
bachya commented 2 years ago

Thanks, @sambeetm. Looks like the same issue on a 1st gen controller. I can't reproduce here (I have a 3rd gen controller); hopefully, I can work with @CZonin to debug in realtime soon and get this into a post-2022.6.0 patch.

bachya commented 2 years ago

@CZonin Thanks for the troubleshooting session today! Lots of good info.

@sambeetm One thing I'm curious about: are you able to start/stop programs with your 1st gen controller?

sambeetm commented 2 years ago

Tested one program. It throws error on start and stop.

2022-06-01 20:49:02 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140634780160880] Error while executing start on "MyRainMachine Bushes & Plants": Error requesting data from https://192.168.1.18:18443/api/4/program/43/start: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/program/43/start?access_token=JBAMIFOHFJLCNPON')
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 113, in _request_with_session
    resp.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/program/43/start?access_token=JBAMIFOHFJLCNPON')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 207, in _async_run_api_coroutine
    resp = await api_coro
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/program.py", line 49, in start
    return await self._request("post", f"program/{program_id}/start")
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/controller.py", line 51, in _request
    return await self._client_request(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 80, in _request
    return await self._request_with_session(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 121, in _request_with_session
    raise RequestError(f"Error requesting data from {url}: {err}") from err
regenmaschine.errors.RequestError: Error requesting data from https://192.168.1.18:18443/api/4/program/43/start: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/program/43/start?access_token=JBAMIFOHFJLCNPON')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1704, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1741, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 270, in async_turn_on
    await self.async_turn_on_when_active(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 305, in async_turn_on_when_active
    await self._async_run_api_coroutine(
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 209, in _async_run_api_coroutine
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error while executing start on "MyRainMachine Bushes & Plants": Error requesting data from https://192.168.1.18:18443/api/4/program/43/start: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/program/43/start?access_token=JBAMIFOHFJLCNPON')
2022-06-01 20:49:22 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': '2-Front Middle Lawn', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': '5-Left Lawn', 'valveid': 5, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': '6-Back Left Lawn', 'valveid': 6, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': '7-Back Middle Lawn', 'valveid': 7, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': '8-Back Woods Lawn', 'valveid': 8, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': '9-Back Right Lawn', 'valveid': 9, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'valveid': 10, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': '11-Right Lawn', 'valveid': 11, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'valveid': 12, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-06-01 20:49:22 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 2, 'name': '2-Front Middle Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 5, 'name': '5-Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 6, 'name': '6-Back Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 7, 'name': '7-Back Middle Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 8, 'name': '8-Back Woods Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 9, 'name': '9-Back Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 11, 'name': '11-Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}]}
2022-06-01 20:49:22 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching MyRainMachine ("zones") data in 8.163 seconds (success: True)
2022-06-01 20:49:48 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/program: {'programs': [{'uid': 43, 'name': 'Bushes & Plants', 'active': True, '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-06-02', '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}]}, {'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-06-03', '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}]}, {'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-06-03', '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}]}, {'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-06-02', '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}]}, {'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-06-02', '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}]}, {'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-06-02', '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}]}, {'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-06-02', '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}]}, {'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-06-02', '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}]}, {'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-06-02', '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}]}, {'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-06-03', '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}]}]}
2022-06-01 20:49:48 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching MyRainMachine ("programs") data in 18.511 seconds (success: True)
2022-06-01 20:49:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall switch.turn_off (c:01G4GY7A0YG2WFYPZ5Y222YKAJ): entity_id=['switch.myrainmachine_bushes_plants']>
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 113, in _request_with_session
    resp.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/program/43/stop?access_token=JBAMIFOHFJLCNPON')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 207, in _async_run_api_coroutine
    resp = await api_coro
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/program.py", line 53, in stop
    return await self._request("post", f"program/{program_id}/stop")
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/controller.py", line 51, in _request
    return await self._client_request(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 80, in _request
    return await self._request_with_session(
  File "/usr/local/lib/python3.9/site-packages/regenmaschine/client.py", line 121, in _request_with_session
    raise RequestError(f"Error requesting data from {url}: {err}") from err
regenmaschine.errors.RequestError: Error requesting data from https://192.168.1.18:18443/api/4/program/43/stop: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/program/43/stop?access_token=JBAMIFOHFJLCNPON')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1722, in catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 1741, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 255, in async_turn_off
    await self.async_turn_off_when_active(**kwargs)
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 299, in async_turn_off_when_active
    await self._async_run_api_coroutine(
  File "/usr/src/homeassistant/homeassistant/components/rainmachine/switch.py", line 209, in _async_run_api_coroutine
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error while executing stop on "MyRainMachine Bushes & Plants": Error requesting data from https://192.168.1.18:18443/api/4/program/43/stop: 400, message='Bad Request', url=URL('https://192.168.1.18:18443/api/4/program/43/stop?access_token=JBAMIFOHFJLCNPON')
2022-06-01 20:49:49 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone/properties: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'valveid': 1, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 2, 'name': '2-Front Middle Lawn', 'valveid': 2, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'valveid': 3, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'valveid': 4, 'ETcoef': 0, 'active': True, 'type': 7, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 5, 'name': '5-Left Lawn', 'valveid': 5, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 6, 'name': '6-Back Left Lawn', 'valveid': 6, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 7, 'name': '7-Back Middle Lawn', 'valveid': 7, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 8, 'name': '8-Back Woods Lawn', 'valveid': 8, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 9, 'name': '9-Back Right Lawn', 'valveid': 9, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'valveid': 10, 'ETcoef': 0, 'active': True, 'type': 4, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 11, 'name': '11-Right Lawn', 'valveid': 11, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'valveid': 12, 'ETcoef': 0, 'active': True, 'type': 2, 'internet': True, 'savings': 0, 'slope': 0, 'sun': 0, 'soil': 0, 'group_id': 0, 'history': True, 'master': False, 'before': -1, 'after': -1, 'waterSense': {'maxAllowedDepletion': 0, 'precipitationRate': 0, 'appEfficiency': 0, 'allowedSurfaceAcc': 0, 'rootDepth': 0, 'isTallPlant': 0, 'soilIntakeRate': 0, 'detailedMonthsKc': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 'permWilting': 0, 'fieldCapacity': 0}}]}
2022-06-01 20:49:50 DEBUG (MainThread) [regenmaschine.client] Data received for https://192.168.1.18:18443/api/4/zone: {'zones': [{'uid': 1, 'name': '1-Front Lawn & Side Walk', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 2, 'name': '2-Front Middle Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 3, 'name': '3-Front Left Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 4, 'name': '4-Front Right Bush Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 7, 'master': False, 'waterSense': False}, {'uid': 5, 'name': '5-Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 6, 'name': '6-Back Left Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 7, 'name': '7-Back Middle Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 8, 'name': '8-Back Woods Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 9, 'name': '9-Back Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 10, 'name': '10-Back & Right Flower Bed', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 4, 'master': False, 'waterSense': False}, {'uid': 11, 'name': '11-Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}, {'uid': 12, 'name': '12-Driveway Right Lawn', 'state': 0, 'userDuration': 0, 'machineDuration': 0, 'remaining': 0, 'cycle': 0, 'noOfCycles': 0, 'restriction': False, 'type': 2, 'master': False, 'waterSense': False}]}
2022-06-01 20:49:50 DEBUG (MainThread) [homeassistant.components.rainmachine] Finished fetching MyRainMachine ("zones") data in 13.060 seconds (success: True)
bachya commented 2 years ago

Yep, that's what we noticed with @CZonin's controller, too. I have a support request out to RainMachine; we'll see what they say.