Multipple dallas sensors on one pin

Hello. I have installed HASSIO in docker. esp8266 device connected via WIFI. To esp have connected three dallas DS18s20 sensors to one GPIO with 4.7K resistor. ESPHOME dallas configuration:

dallas:
  - pin: GPIO4
    update_interval: 60s
    
# Individual sensors
sensor:    
  - name: "Bath temp"
    platform: dallas
    address: 0x5A0300A27934BB28

  - name: "Hole temp"
    platform: dallas
    address: 0x1A0300A27934BB28
    
  - name: "Kitchen temp"
    platform: dallas
    address: 0x4F0300A279C65828

And now in each char of sensors i have same value (hole temp). I looked up in database these values and i see

'sensor', 'sensor.kitchen_temp', '16.0'
'sensor', 'sensor.hole_temp', '16.0'
'sensor', 'sensor.kitchen_temp', '17.2'
'sensor', 'sensor.hole_temp', '17.2'

These values recored in one time. So each sensor value stores twice. And Bath temp is not records.
Althought ESP show logs correctly:

[11:25:34][D][dallas.sensor:153]: 'Bath temp': Got Temperature=17.2°C
[11:25:34][D][sensor:092]: 'Bath temp': Sending state 17.25000 °C with 1 decimals of accuracy
[11:25:34][D][dallas.sensor:153]: 'Hole temp': Got Temperature=16.3°C
[11:25:34][D][sensor:092]: 'Hole temp': Sending state 16.31250 °C with 1 decimals of accuracy
[11:25:34][D][dallas.sensor:153]: 'Kitchen temp': Got Temperature=16.0°C
[11:25:34][D][sensor:092]: 'Kitchen temp': Sending state 16.00000 °C with 1 decimals of accuracy

So Bath temp is not records to dabase, but value records as other sensors.
Before i had one dallas Bath temp sensor and all worked correctly.

Also I have restarted the server, and now in database i see three records:

Copy to clipboard

'sensor', 'sensor.kitchen_temp', '16.1'
'sensor', 'sensor.kitchen_temp', '17.2'
'sensor', 'sensor.kitchen_temp', '15.4'

So HA stores values for each sensor, but entity_id is name of one sensor, last defined in configuration.

In logs i see:

2021-01-18 12:35:40 DEBUG (MainThread) [aioesphomeapi.connection] 192.168.1.101: Got message of type <class 'api_pb2.SensorStateResponse'>: key: 846646175
state: 17.3125

2021-01-18 12:35:40 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hole_temp, old_state=<state sensor.hole_temp=16.1; unit_of_measurement=°C, friendly_name=Hole temp, icon=mdi:thermometer @ 2021-01-18T12:34:40.842719+02:00>, new_state=<state sensor.hole_temp=17.3; unit_of_measurement=°C, friendly_name=Hole temp, icon=mdi:thermometer @ 2021-01-18T12:35:40.830200+02:00>>
2021-01-18 12:35:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140613485235264] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "sensor.hole_temp", "old_state": {"entity_id": "sensor.hole_temp", "state": "16.1", "attributes": {"unit_of_measurement": "\u00b0C", "friendly_name": "Hole temp", "icon": "mdi:thermometer"}, "last_changed": "2021-01-18T10:34:40.842719+00:00", "last_updated": "2021-01-18T10:34:40.842719+00:00", "context": {"id": "06b31edce4823ce1f85b7b217b2b6e6b", "parent_id": null, "user_id": null}}, "new_state": {"entity_id": "sensor.hole_temp", "state": "17.3", "attributes": {"unit_of_measurement": "\u00b0C", "friendly_name": "Hole temp", "icon": "mdi:thermometer"}, "last_changed": "2021-01-18T10:35:40.830200+00:00", "last_updated": "2021-01-18T10:35:40.830200+00:00", "context": {"id": "bde72c7b931fa6352441bd194b5a921f", "parent_id": null, "user_id": null}}}, "origin": "LOCAL", "time_fired": "2021-01-18T10:35:40.830200+00:00", "context": {"id": "bde72c7b931fa6352441bd194b5a921f", "parent_id": null, "user_id": null}}}
2021-01-18 12:35:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140613484760512] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "sensor.hole_temp", "old_state": {"entity_id": "sensor.hole_temp", "state": "16.1", "attributes": {"unit_of_measurement": "\u00b0C", "friendly_name": "Hole temp", "icon": "mdi:thermometer"}, "last_changed": "2021-01-18T10:34:40.842719+00:00", "last_updated": "2021-01-18T10:34:40.842719+00:00", "context": {"id": "06b31edce4823ce1f85b7b217b2b6e6b", "parent_id": null, "user_id": null}}, "new_state": {"entity_id": "sensor.hole_temp", "state": "17.3", "attributes": {"unit_of_measurement": "\u00b0C", "friendly_name": "Hole temp", "icon": "mdi:thermometer"}, "last_changed": "2021-01-18T10:35:40.830200+00:00", "last_updated": "2021-01-18T10:35:40.830200+00:00", "context": {"id": "bde72c7b931fa6352441bd194b5a921f", "parent_id": null, "user_id": null}}}, "origin": "LOCAL", "time_fired": "2021-01-18T10:35:40.830200+00:00", "context": {"id": "bde72c7b931fa6352441bd194b5a921f", "parent_id": null, "user_id": null}}}
2021-01-18 12:35:40 DEBUG (MainThread) [aioesphomeapi.connection] 192.168.1.101: Got message of type <class 'api_pb2.SensorStateResponse'>: key: 846646175
state: 16.3125

2021-01-18 12:35:40 DEBUG (MainThread) [aioesphomeapi.connection] 192.168.1.101: Got message of type <class 'api_pb2.SensorStateResponse'>: key: 846646175
state: 16.125

2021-01-18 12:35:40 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.hole_temp, old_state=<state sensor.hole_temp=17.3; unit_of_measurement=°C, friendly_name=Hole temp, icon=mdi:thermometer @ 2021-01-18T12:35:40.830200+02:00>, new_state=<state sensor.hole_temp=16.1; unit_of_measurement=°C, friendly_name=Hole temp, icon=mdi:thermometer @ 2021-01-18T12:35:40.837959+02:00>>
2021-01-18 12:35:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140613485235264] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "sensor.hole_temp", "old_state": {"entity_id": "sensor.hole_temp", "state": "17.3", "attributes": {"unit_of_measurement": "\u00b0C", "friendly_name": "Hole temp", "icon": "mdi:thermometer"}, "last_changed": "2021-01-18T10:35:40.830200+00:00", "last_updated": "2021-01-18T10:35:40.830200+00:00", "context": {"id": "bde72c7b931fa6352441bd194b5a921f", "parent_id": null, "user_id": null}}, "new_state": {"entity_id": "sensor.hole_temp", "state": "16.1", "attributes": {"unit_of_measurement": "\u00b0C", "friendly_name": "Hole temp", "icon": "mdi:thermometer"}, "last_changed": "2021-01-18T10:35:40.837959+00:00", "last_updated": "2021-01-18T10:35:40.837959+00:00", "context": {"id": "9f7d0e961f23c4619fe84cf17c87290b", "parent_id": null, "user_id": null}}}, "origin": "LOCAL", "time_fired": "2021-01-18T10:35:40.837959+00:00", "context": {"id": "9f7d0e961f23c4619fe84cf17c87290b", "parent_id": null, "user_id": null}}}
2021-01-18 12:35:40 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140613484760512] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "sensor.hole_temp", "old_state": {"entity_id": "sensor.hole_temp", "state": "17.3", "attributes": {"unit_of_measurement": "\u00b0C", "friendly_name": "Hole temp", "icon": "mdi:thermometer"}, "last_changed": "2021-01-18T10:35:40.830200+00:00", "last_updated": "2021-01-18T10:35:40.830200+00:00", "context": {"id": "bde72c7b931fa6352441bd194b5a921f", "parent_id": null, "user_id": null}}, "new_state": {"entity_id": "sensor.hole_temp", "state": "16.1", "attributes": {"unit_of_measurement": "\u00b0C", "friendly_name": "Hole temp", "icon": "mdi:thermometer"}, "last_changed": "2021-01-18T10:35:40.837959+00:00", "last_updated": "2021-01-18T10:35:40.837959+00:00", "context": {"id": "9f7d0e961f23c4619fe84cf17c87290b", "parent_id": null, "user_id": null}}}, "origin": "LOCAL", "time_fired": "2021-01-18T10:35:40.837959+00:00", "context": {"id": "9f7d0e961f23c4619fe84cf17c87290b", "parent_id": null, "user_id": null}}}

So all sensor values (three) in logs defined as hole_temp, and 16.3125 value not storing.

Do you know whythis happen?

UPDATE!
I have resovled the issue by changing firendly names of sensors from russion to english. But can i use friendly names in other than english languages?

Maybe you somehow corrupted the database. Any database errors in the log?

i have switched to SQLite, the issie is still persists.

i have resolved the issue by not using russian letters in name of sensors.
Better use customize of entities and there use russian friendly_names. Like this all working perfect.