#Switchmate

1 messages · Page 1 of 1 (latest)

arctic pecan
#

I'm going to assume that I'm going to have problems finding people using this, given the docs say only 38 installs are using it, but I had a Switchmate toggle switch thing laying around from before I realized how bad it is, and hoping I could get a bit more use out of it via HASS vs its ecosystem. As far as I can tell, just adding the required lines to the config is all that's needed. I do have both a Bluetooth dongle in the system running HASS and a ESPHome BLE proxy for good measure, but it only show up as unavailable.

This is my config entry for it:

switch:
  - platform: switchmate
    mac: "c4:81:f8:60:25:41"
    name: "Bathroom Fan"

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

heady matrix
#

I don't have much beyond some general troubleshooting thoughts.

Anything in your HA log?

can try adding this to your logger to see if you can get any more details out of it

switchmate: debug
homeassistant.components.switchmate: debug
arctic pecan
#

Before changing the logger level this is all that's in the logs, rebooting now to see if debug helps

Logger: switchmate
Source: components/switchmate/switch.py:71
First occurred: 09:02:51 (3 occurrences)
Last logged: 09:02:51

Failed to connect to Switchmate
Cannot communicate with Switchmate```
#

Didn't notice this before

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 09:34:38 (1 occurrences)
Last logged: 09:34:38

Detected integration that attempted to call BleakClient with an address instead of a BLEDevice. Please report issue for switchmate using this method at homeassistant/components/switchmate/switch.py, line 71: await self._device.update()
#

Probably should haved looked at GitHub first

heady matrix
#

I saw that too, but then there's replies from people saying they're at the latest Core and it works

arctic pecan
#

The versions that work seem very inconsistent

#

I'm attempting to go back to 2023.1.6 to see if that works