Sonoff TH16, how to use it?

Yes, i restart HA everytime after changes to the config file.

manufacturer: SONOFF
model: TH16
sw_version: PSA-BHA-GL v3.5.0
local: online
rssi: -71
unit_of_measurement: °C
friendly_name: Dining Room Radiator Temperature
device_class: temperature

After change mode: from cloud to local temperatures does not appear:

Screenshot 2021-11-12 at 13.19.10

Screenshot 2021-11-12 at 13.19.05

Your configuration looks OK to me. Under Attributes I am missing temperature, humidity etc. though.

Are you running AlexxIT/ SonoffLAN and the eWelink Integration in parallel? If so remove the eWelink Integration.

I only use AlexxIT/ SonoffLAN - not eWelink integration.

What i should check for temperature, humidity etc under Attributes?

Try the following in your configuration.yaml:

sonoff:
  username: [email protected]
  password: ****
  mode: local
  reload: always # update device list every time HA starts
  force_update: [currentTemperature, currentHumidity, voltage_00]
  scan_interval: '00:00:30' # (optional) default 5 minutes
  sensors: [currentTemperature, currentHumidity, voltage_00, rssi]
  devices:
    100114ad74:
       device_class: switch
       name: Sonoff TH16 
       devicekey: your-devicekey
       sensors: [currentTemperature, currentHumidity, rssi]

Tested - Issue persists :frowning:

Seems that the issue i am facing has to do with that bug.

–UPDATE –

After that fix refresh interval is more offen but its not the same for all sensors.

Any exemple of automatism?
I have set auto
If sensor below 16 degrees turn on switch sonoff.
It runs but just one time
How to set recorsively?

dont you need to set a turn off value too?
like if above 23 turn off, else the switch will be on forever?

Sure al so turnoff