More refactoring, moved kettle auto off out of the kettle implementation and into a seperate automation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-19 04:36:40 +01:00
parent 20e7e830a6
commit 5aefcf0157
13 changed files with 99 additions and 68 deletions

View File

@@ -35,6 +35,9 @@ func (c *computer) GetID() device.InternalName {
// google.DeviceInterface
var _ google.DeviceInterface = (*computer)(nil)
func (*computer) IsGoogleDevice() {}
// google.DeviceInterface
func (c *computer) Sync() *google.Device {
device := google.NewDevice(c.GetID().String(), google.TypeScene)
device.AddSceneTrait(false)