Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilGruber committed Jun 28, 2024
1 parent f9fc89e commit d5cf2b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions devices/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type Device struct {
LastChanged *time.Time `json:"-"`
Type string
Hidden bool
Name string
}

func (d *Device) GetCurrent() float64 {
Expand Down
3 changes: 0 additions & 3 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,10 @@ func main() {
devices[deviceConfig.Name] = dimmyDevices.NewPlug(deviceConfig)
case "temperature":
devices[deviceConfig.Name] = dimmyDevices.NewTemperature(deviceConfig)
<<<<<<< Updated upstream
case "thermostat":
devices[deviceConfig.Name] = dimmyDevices.NewThermostat(deviceConfig)
=======
case "ztemperature":
devices[deviceConfig.Name] = dimmyDevices.NewZTemperature(deviceConfig)
>>>>>>> Stashed changes
case "group":
default:
log.Println("Skipping deviceConfig of unknown type '" + deviceConfig.Type + "'")
Expand Down

0 comments on commit d5cf2b9

Please sign in to comment.