johnlemonse / homebridge-telldus

36 stars 22 forks source link

Change `selflearning-switch` service type from `Lightbulb` to `Switch` #77

Closed ingvaldlorentzen closed 4 years ago

ingvaldlorentzen commented 4 years ago

Hi,

This PR changes the service type of selflearning-switch from Lightbulb to Switch

Formerly when using switches of the type selflearning-switch they would show up in HomeKit only as lightbulbs, this is unfortunate as there are multiple Telldus compatible sockets and switches of this type that are not necessarily hooked up to lightbulbs.

By changing the service to Switch it shows up in HomeKit as a switch, which can be configured to display and act like a lightbulb in HomeKit.

mifi commented 4 years ago

Makes sense. Thanks.