Wiki source for TuyaLocalSettings
======Home Assistant Tuya Local Settings======
Info re the Kogan Smartplug
https://zorruno.com/w/KoganSmartPlugNotes
=====Kogan Smart Plug Home Assistant Config=====
{{image url="https://lh3.googleusercontent.com/pw/AM-JKLXeoOpdxYAMAjmXNoPG1rG5ymQkmwUS8XAuNJu72zQDhPKl_6cSISGxna4ePLRocUD5MWtJux9sZO0JsVikz6IDBqUszX532TUAcSd3wPgy26zeQGRToXbKTLsA9QASytf2QtZmy0gNkHzEbA0FCMHUSg=w343-h368-no?authuser=0" title="text" alt="text"}}
%%(XML)
localtuya:
- host: 192.168.<redacted>
device_id: <redacted>
local_key: <redacted>
friendly_name: Kogan Plug Tuya
protocol_version: "3.3"
entities:
- platform: binary_sensor
friendly_name: Plug Status
id: 1
device_class: power
state_on: "true" # Optional
state_off: "false" # Optional
- platform: switch
friendly_name: Plug Switch
id: 1
current: 18 # Optional
current_consumption: 19 # Optional
voltage: 20 # Optional
- platform: sensor
friendly_name: Plug Voltage
id: 20
scaling: 0.1 # Optional
device_class: voltage # Optional
unit_of_measurement: "V" # Optional
- platform: sensor
friendly_name: Plug Power
id: 19
scaling: 0.1 # Optional
device_class: current # Optional
unit_of_measurement: "W" # Optional
- platform: sensor
friendly_name: Plug Current
id: 18
scaling: 0.1 # Optional
device_class: current # Optional
unit_of_measurement: "mA" # Optional
%%
{{lastedit show="3"}}
--
CategoryHomeAutomation
CategoryHomeAssistant
CategoryTasmota
Info re the Kogan Smartplug
https://zorruno.com/w/KoganSmartPlugNotes
=====Kogan Smart Plug Home Assistant Config=====
{{image url="https://lh3.googleusercontent.com/pw/AM-JKLXeoOpdxYAMAjmXNoPG1rG5ymQkmwUS8XAuNJu72zQDhPKl_6cSISGxna4ePLRocUD5MWtJux9sZO0JsVikz6IDBqUszX532TUAcSd3wPgy26zeQGRToXbKTLsA9QASytf2QtZmy0gNkHzEbA0FCMHUSg=w343-h368-no?authuser=0" title="text" alt="text"}}
%%(XML)
localtuya:
- host: 192.168.<redacted>
device_id: <redacted>
local_key: <redacted>
friendly_name: Kogan Plug Tuya
protocol_version: "3.3"
entities:
- platform: binary_sensor
friendly_name: Plug Status
id: 1
device_class: power
state_on: "true" # Optional
state_off: "false" # Optional
- platform: switch
friendly_name: Plug Switch
id: 1
current: 18 # Optional
current_consumption: 19 # Optional
voltage: 20 # Optional
- platform: sensor
friendly_name: Plug Voltage
id: 20
scaling: 0.1 # Optional
device_class: voltage # Optional
unit_of_measurement: "V" # Optional
- platform: sensor
friendly_name: Plug Power
id: 19
scaling: 0.1 # Optional
device_class: current # Optional
unit_of_measurement: "W" # Optional
- platform: sensor
friendly_name: Plug Current
id: 18
scaling: 0.1 # Optional
device_class: current # Optional
unit_of_measurement: "mA" # Optional
%%
{{lastedit show="3"}}
--
CategoryHomeAutomation
CategoryHomeAssistant
CategoryTasmota