From 74f6ec27ff77785341909b184bed75df5226a1eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=A9tan=20Collaud?= Date: Tue, 12 Dec 2023 17:59:03 +0100 Subject: [PATCH] rename blind to cover for retrocompatibility --- pkg/controller/modules/devices.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/modules/devices.go b/pkg/controller/modules/devices.go index 3f97271..0760b3f 100644 --- a/pkg/controller/modules/devices.go +++ b/pkg/controller/modules/devices.go @@ -309,7 +309,7 @@ func (c *DeviceModule) GetHomeAssistantEntities() ([]homeassistant.DiscoveryConf cfg = homeassistant.DiscoveryConfig{ Domain: homeassistant.Cover, DeviceId: device.Attributes.Dsid, // retro compatibility - ObjectId: "blind", + ObjectId: "cover", Config: entityConfig, } configs = append(configs, cfg)