Skip to content

Commit

Permalink
rename blind to cover for retrocompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetancollaud committed Dec 12, 2023
1 parent 8b62e42 commit 74f6ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/modules/devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 74f6ec2

Please sign in to comment.