Generic Thermostat Can't Find Switch on SwitchBot Hub 2

I’ve set up the Generic Thermostat. It shows up perfectly in my dashboard.

I run my wall mounted AC through the IR Blaster on my SwitcBot Hub 2. It works fine both with the buttons on the hub or through the Switchbot app.

Unfortunately, the AC is never activated because there’s a proplem with the toggle switch.

Watchman finds the following:


-== Missing 4 entity(ies) from 20 found in your config:
+--------------------------------+---------+--------------------------------------------------------------+
| Entity ID                      | State   | Location                                                     |
+--------------------------------+---------+--------------------------------------------------------------+
| automation.alarm_sound         | missing | scripts.yaml:19                                              |
| switch.a_c                     | unknown | configuration.yaml:14                                        |
| switch.heat                    | unknown | configuration.yaml:33                                        |
| alarm_control_panel.alarm      | missing | custom_components/alarmo/services.yaml:5,44

Here’s the entry from configuration.yaml

climate:
  - platform: generic_thermostat
    name: A/C
    heater: switch.a_c
    target_sensor: sensor.indoor_outdoor_meter_632c
    min_temp: 15
    max_temp: 25
    ac_mode: true
    target_temp: 24
    cold_tolerance: 0
    hot_tolerance: 1
    min_cycle_duration:
      seconds: 300
    initial_hvac_mode: "off"
    home_temp: 23
    away_temp: 25
    sleep_temp: 25
    precision: 0.1
    target_temp_step: 0.5

In my entities, switch.a_c shows up under SwitchBot Cloud.

Am I missing something obvious?

Let me answer my own question…

Yes, I was missing something abovious.

The problem wasn’t that the system couldn’t find the switches. It just didn’t know their current state.

After yesterday’s system update, the switches reverted to state:unknown. Once I switched them both to “Off” in the GUI, then everything seems to have gone back to normal. I’ll give it a day to make sure that everything is behaving and then I’ll post back if my obvious answer isn’t actually the issue.