diff --git a/xaal.go b/xaal.go
index 0f1a8a80e74ee57c0d9b5799126caed87892ea68..df097ec686ee9071a45f61e06ea24652d5f981b5 100644
--- a/xaal.go
+++ b/xaal.go
@@ -199,24 +199,24 @@ func (dev *PowerRelay) update(payload map[string]interface{}) {
 	}
 }
 
-func (dev *PowerRelay) SetState(value string) {
+func (dev *PowerRelay) setState(value string) {
 	state := dev.Expose.GetFeature("state")
 	body := fmt.Sprintf(`{"%s": "%s"}`, state.Property, value)
 	dev.Z2MDevice.Set(body)
 }
 
 func (dev *PowerRelay) turnOn(xaal.MessageBody) *xaal.MessageBody {
-	dev.SetState("ON")
+	dev.setState("ON")
 	return nil
 }
 
 func (dev *PowerRelay) turnOff(xaal.MessageBody) *xaal.MessageBody {
-	dev.SetState("OFF")
+	dev.setState("OFF")
 	return nil
 }
 
 func (dev *PowerRelay) toggle(xaal.MessageBody) *xaal.MessageBody {
-	dev.SetState("TOGGLE")
+	dev.setState("TOGGLE")
 	return nil
 }