mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-10 16:07:23 -06:00
chore: reformat, normalize imports
This commit is contained in:
@@ -5,14 +5,10 @@ import (
|
||||
"github.com/Xevion/go-ha/types"
|
||||
)
|
||||
|
||||
/* Structs */
|
||||
|
||||
type Climate struct {
|
||||
conn *connect.HAConnection
|
||||
}
|
||||
|
||||
/* Public API */
|
||||
|
||||
func (c Climate) SetFanMode(entityId string, fanMode string) error {
|
||||
req := NewBaseServiceRequest(entityId)
|
||||
req.Domain = "climate"
|
||||
|
||||
Reference in New Issue
Block a user