i get a ton of log from the mqtt. but it does still not seem to work.
my bluetooth reciever is located with a pretty weak signal. (from the scan its RSSI=-81dB)
2021-08-19 23:48:36 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.RUNNING
2021-08-19 23:49:37 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [140003244909760] Connection closed by client
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on etrv/state: b'online'
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/climate/etrv/00_04_2f_94_95_5b_thermostat/config: b'{"~": "etrv/bedroom", "name": "bedroom Thermostat", "unique_id": "00_04_2f_94_95_5b_thermostat", "temp_cmd_t": "~/set", "temp_stat_t": "~/state", "temp_stat_tpl": "{{ value_json.set_point }}", "curr_temp_t": "~/state", "curr_temp_tpl": "{{ value_json.room_temp }}", "min_temp": "10", "max_temp": "40", "temp_step": "0.5", "modes": ["heat"], "send_if_off": true, "device": {"identifiers": "00:04:2f:94:95:5b", "manufacturer": "Danfoss", "model": "eTRV", "name": "bedroom"}, "availability_topic": "etrv/state", "payload_available": "online", "payload_not_available": "offline"}'
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'bedroom Thermostat', 'unique_id': '00_04_2f_94_95_5b_thermostat', 'temperature_command_topic': 'etrv/bedroom/set', 'temperature_state_topic': 'etrv/bedroom/state', 'temperature_state_template': '{{ value_json.set_point }}', 'current_temperature_topic': 'etrv/bedroom/state', 'current_temperature_template': '{{ value_json.room_temp }}', 'min_temp': '10', 'max_temp': '40', 'temp_step': '0.5', 'modes': ['heat'], 'send_if_off': True, 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: climate etrv 00_04_2f_94_95_5b_thermostat, sending update
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('climate', 'etrv 00_04_2f_94_95_5b_thermostat') '{'name': 'bedroom Thermostat', 'unique_id': '00_04_2f_94_95_5b_thermostat', 'temperature_command_topic': 'etrv/bedroom/set', 'temperature_state_topic': 'etrv/bedroom/state', 'temperature_state_template': '{{ value_json.set_point }}', 'current_temperature_topic': 'etrv/bedroom/state', 'current_temperature_template': '{{ value_json.room_temp }}', 'min_temp': '10', 'max_temp': '40', 'temp_step': '0.5', 'modes': ['heat'], 'send_if_off': True, 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}'
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: climate.sovevaerelse_thermostat
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/etrv/00_04_2f_94_95_5b_battery/config: b'{"device_class": "battery", "name": "bedroom Battery", "unique_id": "00_04_2f_94_95_5b_battery", "state_topic": "etrv/bedroom/state", "value_template": "{{ value_json.battery }}", "unit_of_measurement": "%", "device": {"identifiers": "00:04:2f:94:95:5b", "manufacturer": "Danfoss", "model": "eTRV", "name": "bedroom"}, "availability_topic": "etrv/state", "payload_available": "online", "payload_not_available": "offline"}'
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/etrv/00_04_2f_94_95_5b_rep_name/config: b'{"name": "bedroom Reported name", "unique_id": "00_04_2f_94_95_5b_reported_name", "state_topic": "etrv/bedroom/state", "value_template": "{{ value_json.name }}", "device": {"identifiers": "00:04:2f:94:95:5b", "manufacturer": "Danfoss", "model": "eTRV", "name": "bedroom"}, "availability_topic": "etrv/state", "payload_available": "online", "payload_not_available": "offline"}'
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/etrv/00_04_2f_94_95_5b_temperature/config: b'{"device_class": "temperature", "name": "bedroom Temperature", "unique_id": "00_04_2f_94_95_5b_temperature", "state_topic": "etrv/bedroom/state", "value_template": "{{ value_json.room_temp }}", "unit_of_measurement": "\\u00b0C", "device": {"identifiers": "00:04:2f:94:95:5b", "manufacturer": "Danfoss", "model": "eTRV", "name": "bedroom"}, "availability_topic": "etrv/state", "payload_available": "online", "payload_not_available": "offline"}'
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on homeassistant/sensor/etrv/00_04_2f_94_95_5b_last_update/config: b'{"device_class": "timestamp", "name": "bedroom Last Update", "unique_id": "00_04_2f_94_95_5b_last_update", "state_topic": "etrv/bedroom/state", "value_template": "{{ value_json.last_update }}", "device": {"identifiers": "00:04:2f:94:95:5b", "manufacturer": "Danfoss", "model": "eTRV", "name": "bedroom"}, "availability_topic": "etrv/state", "payload_available": "online", "payload_not_available": "offline"}'
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('climate', 'etrv 00_04_2f_94_95_5b_thermostat'): deque([])
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'device_class': 'battery', 'name': 'bedroom Battery', 'unique_id': '00_04_2f_94_95_5b_battery', 'state_topic': 'etrv/bedroom/state', 'value_template': '{{ value_json.battery }}', 'unit_of_measurement': '%', 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor etrv 00_04_2f_94_95_5b_battery, sending update
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'name': 'bedroom Reported name', 'unique_id': '00_04_2f_94_95_5b_reported_name', 'state_topic': 'etrv/bedroom/state', 'value_template': '{{ value_json.name }}', 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor etrv 00_04_2f_94_95_5b_rep_name, sending update
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'device_class': 'temperature', 'name': 'bedroom Temperature', 'unique_id': '00_04_2f_94_95_5b_temperature', 'state_topic': 'etrv/bedroom/state', 'value_template': '{{ value_json.room_temp }}', 'unit_of_measurement': '°C', 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor etrv 00_04_2f_94_95_5b_temperature, sending update
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Process discovery payload {'device_class': 'timestamp', 'name': 'bedroom Last Update', 'unique_id': '00_04_2f_94_95_5b_last_update', 'state_topic': 'etrv/bedroom/state', 'value_template': '{{ value_json.last_update }}', 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor etrv 00_04_2f_94_95_5b_last_update, sending update
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', 'etrv 00_04_2f_94_95_5b_battery') '{'device_class': 'battery', 'name': 'bedroom Battery', 'unique_id': '00_04_2f_94_95_5b_battery', 'state_topic': 'etrv/bedroom/state', 'value_template': '{{ value_json.battery }}', 'unit_of_measurement': '%', 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}'
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: sensor.sovevaerelse_battery
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', 'etrv 00_04_2f_94_95_5b_rep_name') '{'name': 'bedroom Reported name', 'unique_id': '00_04_2f_94_95_5b_reported_name', 'state_topic': 'etrv/bedroom/state', 'value_template': '{{ value_json.name }}', 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}'
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: sensor.sovevaerelse_reported_name
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', 'etrv 00_04_2f_94_95_5b_temperature') '{'device_class': 'temperature', 'name': 'bedroom Temperature', 'unique_id': '00_04_2f_94_95_5b_temperature', 'state_topic': 'etrv/bedroom/state', 'value_template': '{{ value_json.room_temp }}', 'unit_of_measurement': '°C', 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}'
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: sensor.sovevaerelse_temperature
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('sensor', 'etrv 00_04_2f_94_95_5b_last_update') '{'device_class': 'timestamp', 'name': 'bedroom Last Update', 'unique_id': '00_04_2f_94_95_5b_last_update', 'state_topic': 'etrv/bedroom/state', 'value_template': '{{ value_json.last_update }}', 'device': {'identifiers': '00:04:2f:94:95:5b', 'manufacturer': 'Danfoss', 'model': 'eTRV', 'name': 'bedroom'}, 'availability_topic': 'etrv/state', 'payload_available': 'online', 'payload_not_available': 'offline', 'platform': 'mqtt'}'
2021-08-19 23:51:17 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: sensor.sovevaerelse_last_update
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('sensor', 'etrv 00_04_2f_94_95_5b_battery'): deque([])
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('sensor', 'etrv 00_04_2f_94_95_5b_rep_name'): deque([])
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('sensor', 'etrv 00_04_2f_94_95_5b_temperature'): deque([])
2021-08-19 23:51:17 DEBUG (MainThread) [homeassistant.components.mqtt.discovery] Pending discovery for ('sensor', 'etrv 00_04_2f_94_95_5b_last_update'): deque([])
2021-08-19 23:51:24 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on etrv/state: b'offline'