diff --git a/lovelace/dashboard/hello_world.yaml b/lovelace/dashboard/hello_world.yaml index dffadb2..b4a18f2 100755 --- a/lovelace/dashboard/hello_world.yaml +++ b/lovelace/dashboard/hello_world.yaml @@ -10,7 +10,34 @@ icon: "mdi:lightbulb" #OPTIONAL name: LivingRoom color: "blue" - + entity_2: + entity_id: sensor.livingroom_temp_temperature + icon: "mdi:lightbulb" #OPTIONAL + name: Temp + color: "green" + +- type: horizontal-stack + cards: + - type: "custom:button-card" + template: card_person + entity: device_tracker.pfsense_blutwurst1_de_galaxy_s21_ultra_5g_blutwurst1_de + variables: + ulm_card_person_entity: device_tracker.pfsense_blutwurst1_de_galaxy_s21_ultra_5g_blutwurst1_de + ulm_card_person_use_entity_picture: true + ulm_card_person_icon: mdi:face-man + #ulm_card_person_zone1: zone.home + #ulm_address: sensor.s10_mike_gegeocodeerde_locatie + - type: "custom:button-card" + template: card_person + entity: person.toni + variables: + ulm_card_person_entity: person.toni + ulm_card_person_use_entity_picture: true + ulm_card_person_icon: mdi:face-woman + #ulm_card_person_zone1: zone.home + #ulm_address: sensor.s10_mike_gegeocodeerde_locatie + + - type: custom:weather-card entity: weather.pirateweather diff --git a/lovelace/dashboard/lights.yaml b/lovelace/dashboard/lights.yaml index 19299c7..cc66186 100755 --- a/lovelace/dashboard/lights.yaml +++ b/lovelace/dashboard/lights.yaml @@ -19,6 +19,15 @@ ulm_card_light_force_background_color: true ulm_card_light_name: Bedroom ulm_card_light_enable_collapse: true + - type: "custom:button-card" + template: card_light + entity: light.ikea_of_sweden_tradfri_driver_10w_light + variables: + ulm_card_light_enable_slider: true + ulm_card_light_enable_color: true + ulm_card_light_force_background_color: true + ulm_card_light_name: Office Led + ulm_card_light_enable_collapse: true - type: "horizontal-stack" cards: diff --git a/lovelace/dashboard/sensors.yaml b/lovelace/dashboard/sensors.yaml index 6189517..2114dbd 100755 --- a/lovelace/dashboard/sensors.yaml +++ b/lovelace/dashboard/sensors.yaml @@ -2,48 +2,56 @@ template: card_title name: ZigBee label: Sensors -- type: 'custom:button-card' - template: card_binary_sensor_alert - variables: - ulm_card_binary_sensor_alert: true - ulm_show_last_changed: true - ulm_card_binary_sensor_alert_name : "Garden Door" - entity: binary_sensor.livingroom_door_garden_iaszone -- type: 'custom:button-card' - template: card_binary_sensor_alert - variables: - ulm_card_binary_sensor_alert: true - ulm_show_last_changed: true - ulm_card_binary_sensor_alert_name : "Freezer" - entity: binary_sensor.livingroom_freezer_iaszone -- type: 'custom:button-card' - template: card_binary_sensor_alert - variables: - ulm_card_binary_sensor_alert: true - ulm_show_last_changed: true - ulm_card_binary_sensor_alert_name : "Bathroom Window" - entity: binary_sensor.bathroom_window_iaszone -- type: 'custom:button-card' - template: card_binary_sensor_alert - variables: - ulm_card_binary_sensor_alert: true - ulm_show_last_changed: true - ulm_card_binary_sensor_alert_name : "Mailbox" - entity: binary_sensor.mailbox_door_iaszone -- type: 'custom:button-card' - template: card_binary_sensor_alert - variables: - ulm_card_binary_sensor_alert: true - ulm_show_last_changed: true - ulm_card_binary_sensor_alert_name : "Hallway Motion" - entity: binary_sensor.hallway_motion_iaszone -- type: 'custom:button-card' - template: card_binary_sensor_alert - variables: - ulm_card_binary_sensor_alert: true - ulm_show_last_changed: true - ulm_card_binary_sensor_alert_name : "Mailbox Motion" - entity: binary_sensor.mailbox_motion_iaszone +- type: horizontal-stack + cards: + - type: 'custom:button-card' + template: card_binary_sensor_alert + variables: + ulm_card_binary_sensor_alert: true + ulm_show_last_changed: true + ulm_card_binary_sensor_alert_name : "Garden Door" + entity: binary_sensor.livingroom_door_garden_iaszone + - type: 'custom:button-card' + template: card_binary_sensor_alert + variables: + ulm_card_binary_sensor_alert: true + ulm_show_last_changed: true + ulm_card_binary_sensor_alert_name : "Freezer" + entity: binary_sensor.livingroom_freezer_iaszone +- type: horizontal-stack + cards: + - type: 'custom:button-card' + template: card_binary_sensor_alert + variables: + ulm_card_binary_sensor_alert: true + ulm_show_last_changed: true + ulm_card_binary_sensor_alert_name : "Bathroom Window" + entity: binary_sensor.bathroom_window_iaszone + - type: 'custom:button-card' + template: card_binary_sensor_alert + variables: + ulm_card_binary_sensor_alert: true + ulm_show_last_changed: true + ulm_card_binary_sensor_alert_name : "Mailbox" + entity: binary_sensor.mailbox_door_iaszone + +- type: horizontal-stack + cards: + - type: 'custom:button-card' + template: card_binary_sensor_alert + variables: + ulm_card_binary_sensor_alert: true + ulm_show_last_changed: true + ulm_card_binary_sensor_alert_name : "Hallway Motion" + entity: binary_sensor.hallway_motion_iaszone + - type: 'custom:button-card' + template: card_binary_sensor_alert + variables: + ulm_card_binary_sensor_alert: true + ulm_show_last_changed: true + ulm_card_binary_sensor_alert_name : "Mailbox Motion" + entity: binary_sensor.mailbox_motion_iaszone + - type: 'custom:button-card' template: card_graph entity: sensor.livingroom_temp_temperature diff --git a/packages/door_sensors/door_sensors.yaml b/packages/door_sensors/door_sensors.yaml new file mode 100755 index 0000000..65f945e --- /dev/null +++ b/packages/door_sensors/door_sensors.yaml @@ -0,0 +1,48 @@ +automation: +#bathroom window opened for 10 min + - alias: bathroom_window_ventilating + trigger: + - device_id: 85dbfa4e5a7ad4dcc73d74b8f051647b + domain: binary_sensor + type: opened + platform: device + entity_id: binary_sensor.bathroom_window_iaszone + for: + hours: 0 + minutes: 10 + seconds: 0 + action: + - service: notify.notify #mobile_app_sm_g998b + data: + message: reicht auch mit dem lüften! + title: Badezimmer + #- service: notify.mobile_app_tonis_iphone + # data: + # message: reicht auch mit dem lüften! + # title: Badezimmer + - service: persistent_notification.create + data: + message: "Your message goes here" + title: "Custom subject" + notification_id: 1 +#freezer open for 5 min + - alias: livingroom_freezer_opened + trigger: + - device_id: b8119ef2d21afde8394d70373bb9621e + domain: binary_sensor + type: opened + platform: device + entity_id: binary_sensor.bathroom_window_iaszone + for: + hours: 0 + minutes: 5 + seconds: 0 + action: + - service: notify.mobile_app_sm_g998b + data: + message: ist noch offen! + title: Freezer + - service: notify.mobile_app_tonis_iphone + data: + message: ist noch offen! + title: Freezer diff --git a/packages/html5_notifications/html5_notification.yaml b/packages/html5_notifications/html5_notification.yaml new file mode 100755 index 0000000..6925817 --- /dev/null +++ b/packages/html5_notifications/html5_notification.yaml @@ -0,0 +1,7 @@ +# Example configuration.yaml entry +notify: + - platform: html5 + name: web_notify + vapid_pub_key: !secret vapid_pub_key + vapid_prv_key: !secret vapid_prv_key + vapid_email: !secret vapid_email \ No newline at end of file diff --git a/packages/light/buttons/automation.yaml b/packages/light/buttons/automation.yaml index 8005a43..a91233a 100755 --- a/packages/light/buttons/automation.yaml +++ b/packages/light/buttons/automation.yaml @@ -1,4 +1,4 @@ -#Guest Room Light +#Guest Room Button Light automation: - alias: guestroom_light_button trigger: @@ -11,4 +11,30 @@ automation: - type: toggle device_id: 1fcba92f6a53183e10c1dc35a9bb82ce entity_id: light.guestroom_switch_lamp + domain: light + #Bedroom Button Light + - alias: bedroom_light_button + trigger: + - device_id: 5eaa44bd80bff72ec68727486d1259cd + domain: zha + platform: device + type: remote_button_short_press + subtype: button + action: + - type: toggle + device_id: e0e71e574631d1fd7ebf960b883d1b6f + entity_id: light.bedroom_bulb_light + domain: light + # Office Button Light + - alias: office_light_button + trigger: + - device_id: ab68a51751fcc28c6576ba467a77581d + domain: zha + platform: device + type: remote_button_short_press + subtype: button + action: + - type: toggle + device_id: ce016fbf6d9602740bbabe1fe9915c88 + entity_id: light.office_bulb domain: light \ No newline at end of file diff --git a/packages/light/buttons/scripts.yaml b/packages/light/buttons/group.yaml similarity index 100% rename from packages/light/buttons/scripts.yaml rename to packages/light/buttons/group.yaml diff --git a/packages/sockets/socket.yaml b/packages/sockets/socket.yaml new file mode 100755 index 0000000..6cf9f6d --- /dev/null +++ b/packages/sockets/socket.yaml @@ -0,0 +1,14 @@ +#Office Steckdosenleiste +automation: + - alias: office_light_socket + trigger: + - device_id: ab68a51751fcc28c6576ba467a77581d + domain: zha + platform: device + type: remote_button_long_press + subtype: button + action: + - type: toggle + device_id: 343b205f3ed48a715e59c5490050150f + entity_id: light.office_switch_socket + domain: light