diff --git a/config_creation/main.py b/config_creation/main.py index 5659cdb..7c3349c 100644 --- a/config_creation/main.py +++ b/config_creation/main.py @@ -9,7 +9,7 @@ yaml = YAML() yaml.preserve_quotes = True -fritz_box_counter_sensors = [ +sensors_to_ignore_in_logbook = [ 'sensor.fritz_box_7490_bytes_received', 'sensor.fritz_box_7490_bytes_sent', #'sensor.fritz_box_7490_kbyte_sec_received', @@ -18,6 +18,15 @@ fritz_box_counter_sensors = [ 'sensor.fritz_box_7490_packets_sec_received', 'sensor.fritz_box_7490_packets_sec_sent', 'sensor.fritz_box_7490_packets_sent', + + 'sensor.martin_handy_availability_sensor', + 'sensor.martin_handy_light_sensor', + 'sensor.martin_handy_step_counter_sensor', + + 'sensor.date_time', + 'sensor.date_time_iso', + 'sensor.time', + 'sensor.time_date', ] @@ -195,7 +204,7 @@ def logbook_config(all_devices): sensor_excludes = ['Helligkeit', 'Betriebsstunden', 'Verbrauch', 'Bewegungsmelder'] exclude_list = [] - exclude_list.extend(fritz_box_counter_sensors) + exclude_list.extend(sensors_to_ignore_in_logbook) exclude_list.extend(make_sensor_exclude_list(all_devices, sensor_excludes)) return { 'logbook': { @@ -210,7 +219,7 @@ def logbook_config(all_devices): def recorder_config(all_devices): recorder_excludes = ['Betriebsstunden', 'Verbrauch mA'] exclude_list = ['sun.sun'] - exclude_list.extend(fritz_box_counter_sensors) + exclude_list.extend(sensors_to_ignore_in_logbook) exclude_list.extend(make_sensor_exclude_list(all_devices, recorder_excludes)) return { 'recorder': {