Thanks for reply again.
Here is 60sec dumb from debug
Summary
2021-08-01 12:22:13 DEBUG (MainThread) [custom_components.ble_monitor.sensor] 6 BLE ADV messages processed for 6 measuring device(s).
2021-08-01 12:22:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: main event_loop stopped, finishing
2021-08-01 12:22:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: Scanning will be restarted
2021-08-01 12:22:13 DEBUG (Thread-3) [custom_components.ble_monitor] 703 HCI events processed for previous period.
2021-08-01 12:22:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: Run
2021-08-01 12:22:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: connected to hci0
2021-08-01 12:22:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: start main event_loop
2021-08-01 12:22:15 DEBUG (MainThread) [custom_components.ble_monitor.sensor] Data measuring sensor received: {‘rssi’: -78, ‘mac’: ‘A4C1382116B3’, ‘type’: ‘LYWSD03MMC’, ‘packet’: 17, ‘firmware’: ‘Xiaomi (MiBeacon V3)’, ‘data’: True, ‘temperature’: 22.5, ‘humidity’: 56.0}
2021-08-01 12:22:16 DEBUG (MainThread) [custom_components.ble_monitor.config_flow] async_step_init user_input: {‘bt_interface’: [‘B8:27:EB:22:98:48’], ‘period’: 60, ‘discovery’: True, ‘active_scan’: False, ‘decimals’: 1, ‘log_spikes’: False, ‘use_median’: False, ‘restore_state’: False, ‘report_unknown’: False, ‘devices’: ‘F8:24:41:C5:E8:22’}
2021-08-01 12:22:16 DEBUG (MainThread) [custom_components.ble_monitor.config_flow] async_step_init (after): {‘bt_interface’: [‘B8:27:EB:22:98:48’], ‘period’: 60, ‘discovery’: True, ‘active_scan’: False, ‘decimals’: 1, ‘log_spikes’: False, ‘use_median’: False, ‘restore_state’: False, ‘report_unknown’: False, ‘devices’: ‘F8:24:41:C5:E8:22’}
2021-08-01 12:22:17 DEBUG (MainThread) [custom_components.ble_monitor.sensor] Data measuring sensor received: {‘rssi’: -69, ‘mac’: ‘A4C13833A86E’, ‘type’: ‘LYWSD03MMC’, ‘packet’: 61, ‘firmware’: ‘Xiaomi (MiBeacon V3)’, ‘data’: True, ‘temperature’: 21.9, ‘humidity’: 56.0}
2021-08-01 12:22:28 DEBUG (MainThread) [custom_components.ble_monitor.config_flow] async_step_add_device: {‘mac’: ‘F8:24:41:C5:E8:22’, ‘encryption_key’: ‘9F2AA885D2734D3DFE7240EC’, ‘decimals’: ‘default’, ‘use_median’: ‘default’, ‘restore_state’: ‘default’, ‘reset_timer’: 1, ‘track_device’: False, ‘tracker_scan_interval’: 20, ‘consider_home’: 180, ‘temperature_unit’: ‘°C’}
2021-08-01 12:22:51 DEBUG (MainThread) [custom_components.ble_monitor.binary_sensor] Data binary sensor received: {‘temperature’: 22.7, ‘humidity’: 59, ‘voltage’: 2.64, ‘battery’: 45, ‘data’: True, ‘rssi’: -84, ‘mac’: ‘A4C13809AACB’, ‘type’: ‘ATC’, ‘packet’: 30, ‘firmware’: ‘ATC (Atc1441)’}
2021-08-01 12:22:51 DEBUG (MainThread) [custom_components.ble_monitor.sensor] Data measuring sensor received: {‘temperature’: 22.7, ‘humidity’: 59, ‘voltage’: 2.64, ‘battery’: 45, ‘data’: True, ‘rssi’: -84, ‘mac’: ‘A4C13809AACB’, ‘type’: ‘ATC’, ‘packet’: 30, ‘firmware’: ‘ATC (Atc1441)’}
2021-08-01 12:22:51 DEBUG (MainThread) [custom_components.ble_monitor.binary_sensor] Data binary sensor received: {‘rssi’: -78, ‘mac’: ‘A4C1382116B3’, ‘type’: ‘LYWSD03MMC’, ‘packet’: 18, ‘firmware’: ‘Xiaomi (MiBeacon V3)’, ‘data’: True, ‘battery’: 61, ‘voltage’: 2.749}
2021-08-01 12:22:51 DEBUG (MainThread) [custom_components.ble_monitor.sensor] Data measuring sensor received: {‘rssi’: -78, ‘mac’: ‘A4C1382116B3’, ‘type’: ‘LYWSD03MMC’, ‘packet’: 18, ‘firmware’: ‘Xiaomi (MiBeacon V3)’, ‘data’: True, ‘battery’: 61, ‘voltage’: 2.749}
2021-08-01 12:22:54 DEBUG (MainThread) [custom_components.ble_monitor.binary_sensor] Data binary sensor received: {‘temperature’: 23.2, ‘humidity’: 58, ‘voltage’: 2.928, ‘battery’: 80, ‘data’: True, ‘rssi’: -68, ‘mac’: ‘A4C1389100F2’, ‘type’: ‘ATC’, ‘packet’: 150, ‘firmware’: ‘ATC (Atc1441)’}
2021-08-01 12:22:54 DEBUG (MainThread) [custom_components.ble_monitor.sensor] Data measuring sensor received: {‘temperature’: 23.2, ‘humidity’: 58, ‘voltage’: 2.928, ‘battery’: 80, ‘data’: True, ‘rssi’: -68, ‘mac’: ‘A4C1389100F2’, ‘type’: ‘ATC’, ‘packet’: 150, ‘firmware’: ‘ATC (Atc1441)’}
2021-08-01 12:22:58 DEBUG (MainThread) [custom_components.ble_monitor.binary_sensor] Data binary sensor received: {‘rssi’: -79, ‘mac’: ‘A4C13825ED87’, ‘type’: ‘LYWSD03MMC’, ‘packet’: 174, ‘firmware’: ‘Xiaomi (MiBeacon V3)’, ‘data’: True, ‘battery’: 47, ‘voltage’: 2.623}
2021-08-01 12:22:58 DEBUG (MainThread) [custom_components.ble_monitor.sensor] Data measuring sensor received: {‘rssi’: -79, ‘mac’: ‘A4C13825ED87’, ‘type’: ‘LYWSD03MMC’, ‘packet’: 174, ‘firmware’: ‘Xiaomi (MiBeacon V3)’, ‘data’: True, ‘battery’: 47, ‘voltage’: 2.623}
2021-08-01 12:23:02 DEBUG (MainThread) [custom_components.ble_monitor.binary_sensor] Data binary sensor received: {‘rssi’: -73, ‘mac’: ‘A4C13833A86E’, ‘type’: ‘LYWSD03MMC’, ‘packet’: 62, ‘firmware’: ‘Xiaomi (MiBeacon V3)’, ‘data’: True, ‘battery’: 46, ‘voltage’: 2.6140000000000003}
2021-08-01 12:23:02 DEBUG (MainThread) [custom_components.ble_monitor.sensor] Data measuring sensor received: {‘rssi’: -73, ‘mac’: ‘A4C13833A86E’, ‘type’: ‘LYWSD03MMC’, ‘packet’: 62, ‘firmware’: ‘Xiaomi (MiBeacon V3)’, ‘data’: True, ‘battery’: 46, ‘voltage’: 2.6140000000000003}
2021-08-01 12:23:10 DEBUG (MainThread) [custom_components.ble_monitor.device_tracker] 0 BLE ADV messages processed last 60 seconds for 0 device tracker device(s).
2021-08-01 12:23:13 DEBUG (MainThread) [custom_components.ble_monitor.binary_sensor] 5 MiBeacon BLE ADV messages processed for 0 binary sensor device(s) total. Priority queue = 0
2021-08-01 12:23:13 DEBUG (MainThread) [custom_components.ble_monitor.sensor] 7 BLE ADV messages processed for 6 measuring device(s).
2021-08-01 12:23:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: main event_loop stopped, finishing
2021-08-01 12:23:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: Scanning will be restarted
2021-08-01 12:23:13 DEBUG (Thread-3) [custom_components.ble_monitor] 806 HCI events processed for previous period.
2021-08-01 12:23:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: Run
2021-08-01 12:23:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: connected to hci0
2021-08-01 12:23:13 DEBUG (Thread-3) [custom_components.ble_monitor] HCIdump thread: start main event_loop
EDIT: If i add dimmer via yaml, it will work like charm. But all LYWSD03MMC sensors wont work because i have added them via gui.
EDIT2: When i used yaml, it seems that passive ble integradion added my LYWSD03MMC sensors again with different entitity id. I just edit new entities id to old name and removed old entititys from HA.
I also disabled confid from yaml, but i still had to do edit. I can also see my yeelight dimmer now, so everything is working now. Very weird.