Skip to content

Commit 797ea02

Browse files
author
root
committed
📁 files on Jan 21, 2025 - 6:29 PM
1 parent e3f648e commit 797ea02

File tree

6 files changed

+672
-554
lines changed

6 files changed

+672
-554
lines changed

automations.yaml

Lines changed: 83 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,16 +1278,23 @@
12781278
target:
12791279
entity_id: automation.tag_desk_is_scanned
12801280
enabled: true
1281+
- action: switch.turn_on
1282+
metadata: {}
1283+
data: {}
1284+
target:
1285+
entity_id: switch.docker_chromium
12811286
- conditions:
12821287
- condition: and
12831288
conditions:
12841289
- condition: time
12851290
after: '15:00:00'
12861291
before: '18:00:00'
1287-
- condition: state
1288-
entity_id: person.pavanthanuj
1289-
state: Work
12901292
sequence:
1293+
- action: switch.turn_off
1294+
metadata: {}
1295+
data: {}
1296+
target:
1297+
entity_id: switch.docker_chromium
12911298
- action: notify.mobile_app_pixel8pro
12921299
data:
12931300
message: command_activity
@@ -1300,7 +1307,7 @@
13001307
zone: zone.home
13011308
event: enter
13021309
trigger: zone
1303-
continue_on_timeout: true
1310+
continue_on_timeout: false
13041311
enabled: true
13051312
- action: automation.trigger
13061313
data:
@@ -1530,10 +1537,11 @@
15301537
- alias: Send Notification
15311538
action: notify.mobile_app_pixel8pro
15321539
data:
1533-
message: Shhh..
15341540
data:
15351541
notification_icon: mdi:vibrate
15361542
timeout: 60
1543+
message: ' '
1544+
title: "\U0001F92B Shhh.."
15371545
- conditions:
15381546
- condition: and
15391547
conditions:
@@ -1576,24 +1584,24 @@
15761584
- id: '1700567569365'
15771585
alias: "\U0001F6AE\U0001F4F3Is the Bin Outside?"
15781586
description: ''
1579-
trigger:
1580-
- platform: state
1581-
entity_id:
1587+
triggers:
1588+
- entity_id:
15821589
- binary_sensor.back_door_contact
15831590
from: 'off'
15841591
to: 'on'
1585-
- platform: event
1586-
event_type: mobile_app_notification_action
1592+
trigger: state
1593+
- event_type: mobile_app_notification_action
15871594
event_data:
15881595
action: BIN_OUT
1589-
condition: []
1590-
action:
1596+
trigger: event
1597+
conditions: []
1598+
actions:
15911599
- choose:
15921600
- conditions:
15931601
- condition: and
15941602
conditions:
15951603
- condition: time
1596-
after: '21:00:00'
1604+
after: '18:00:00'
15971605
before: 02:00:00
15981606
- condition: or
15991607
conditions:
@@ -1623,14 +1631,12 @@
16231631
message: ' '
16241632
title: The bin is outside.
16251633
- conditions:
1626-
- condition: or
1627-
conditions:
1628-
- condition: template
1629-
value_template: '{{(state_attr("sensor.blue_bin", "next_collection")) !=
1630-
0 }}'
1631-
- condition: template
1632-
value_template: '{{(state_attr("sensor.black_bin", "next_collection")) !=
1633-
0 }}'
1634+
- condition: template
1635+
value_template: "{% set black_next_collection = state_attr('sensor.black_bin',\n'next_collection')
1636+
%} {% set blue_next_collection =\nstate_attr('sensor.blue_bin', 'next_collection')
1637+
%}\n\n{% if black_next_collection < blue_next_collection %}\n {{(state_attr(\"sensor.black_bin\",
1638+
\"next_collection\")) >= 2 }}\n{% else %}\n {{(state_attr(\"sensor.blue_bin\",
1639+
\"next_collection\")) >= 2 }}\n{% endif %}\n"
16341640
sequence:
16351641
- action: input_boolean.turn_off
16361642
target:
@@ -2503,6 +2509,7 @@
25032509
seconds: 0
25042510
milliseconds: 0
25052511
continue_on_timeout: false
2512+
enabled: false
25062513
- choose:
25072514
- conditions:
25082515
- condition: trigger
@@ -2544,6 +2551,7 @@
25442551
data:
25452552
notification_icon: mdi:movie-check
25462553
image: '{{ state_attr( "sensor.jellyfin_movies", "data")[1].fanart}}'
2554+
enabled: false
25472555
mode: queued
25482556
max: 10
25492557
- id: '1725362683046'
@@ -2701,3 +2709,57 @@
27012709
data:
27022710
title: '{{ trigger.slots.title }}'
27032711
mode: single
2712+
- id: '1736711298193'
2713+
alias: Guest Button
2714+
description: ''
2715+
triggers:
2716+
- domain: mqtt
2717+
device_id: 0f7674241f0842e51cb6ba901f3f0604
2718+
type: action
2719+
subtype: 'on'
2720+
trigger: device
2721+
id: single
2722+
- domain: mqtt
2723+
device_id: 0f7674241f0842e51cb6ba901f3f0604
2724+
type: action
2725+
subtype: 'off'
2726+
id: double
2727+
trigger: device
2728+
- domain: mqtt
2729+
device_id: 0f7674241f0842e51cb6ba901f3f0604
2730+
type: action
2731+
subtype: brightness_stop
2732+
trigger: device
2733+
id: hold
2734+
conditions: []
2735+
actions:
2736+
- choose:
2737+
- conditions:
2738+
- condition: trigger
2739+
id:
2740+
- single
2741+
sequence:
2742+
- action: homeassistant.toggle
2743+
data: {}
2744+
target:
2745+
entity_id: light.guest_light
2746+
- conditions:
2747+
- condition: trigger
2748+
id:
2749+
- double
2750+
sequence:
2751+
- action: homeassistant.toggle
2752+
data: {}
2753+
target:
2754+
entity_id: light.guest_bed_light
2755+
- conditions:
2756+
- condition: trigger
2757+
id:
2758+
- hold
2759+
sequence:
2760+
- action: homeassistant.toggle
2761+
data: {}
2762+
target:
2763+
entity_id: switch.heating_blanket
2764+
enabled: false
2765+
mode: single

binary_sensors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
as_timestamp(states.sensor.vibration_angle_x.last_changed),
1010
as_timestamp(states.sensor.vibration_angle_y.last_changed),
1111
as_timestamp(states.sensor.vibration_angle_z.last_changed)
12-
) > (as_timestamp(now()) - 30) or is_state('binary_sensor.vibration_vibration', 'on') or not is_state('sensor.vibration_action', 'unknown')
12+
) > (as_timestamp(now()) - 30) or is_state('binary_sensor.vibration_vibration', 'on')
1313
}}
1414
icon_template: "{{ iif(is_state('binary_sensor.chair_occupancy', 'on'), 'mdi:table-chair', 'mdi:account-off') }}"
1515
availability_template: "{{states.binary_sensor.vibration_vibration.state != 'unavailable'}}"

custom_components/battery_notes/data/library.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2192,6 +2192,11 @@
21922192
"battery_type": "AA",
21932193
"battery_quantity": 4
21942194
},
2195+
{
2196+
"manufacturer": "eQ-3",
2197+
"model": "HmIP-DLS",
2198+
"battery_type": "CR2032"
2199+
},
21952200
{
21962201
"manufacturer": "eQ-3",
21972202
"model": "HmIP-ESI",
@@ -2420,6 +2425,12 @@
24202425
"battery_type": "AA",
24212426
"battery_quantity": 3
24222427
},
2428+
{
2429+
"manufacturer": "eQ-3",
2430+
"model": "HmIP-WGC",
2431+
"battery_type": "AA",
2432+
"battery_quantity": 2
2433+
},
24232434
{
24242435
"manufacturer": "eQ-3",
24252436
"model": "HMIP-WRC2",
@@ -7179,6 +7190,13 @@
71797190
"model": "Wireless switch with 6 buttons (TS0046)",
71807191
"battery_type": "CR2032"
71817192
},
7193+
{
7194+
"manufacturer": "Tuya",
7195+
"model": "WX1 Tap Timer (unsupported)",
7196+
"model_id": "(zrsgzc8jktsricjj)",
7197+
"battery_type": "AA",
7198+
"battery_quantity": 4
7199+
},
71827200
{
71837201
"manufacturer": "Tuya",
71847202
"model": "X-Sense Wi-Fi Smoke Alarm (skivkhveqwmqw4gs)",

homekit.yaml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,31 @@
1616
- sensor.hygrometer_humidity
1717
- sensor.kitchen_temperature_and_humidity_humidity
1818
- sensor.kitchen_temperature_and_humidity_temperature
19-
- light.light
2019
- light.living_room_lamp
2120
- light.chandelier
22-
- light.guest_lamp
2321
- light.led_strip
2422
- light.shapes
23+
- light.light
2524
- light.lamp
25+
- light.guest_bed_light
26+
- light.guest_light
2627
- light.tv_led_strip
28+
- light.hallway_chandelier
29+
- light.kitchen_light
30+
- light.backyard_lights
31+
- light.porch_light
32+
- light.string_lights
33+
- light.alleyway_lights
2734
- media_player.google_tv
2835
- media_player.google_tv_streamer
2936
- cover.curtains
30-
- switch.string_lights
31-
- switch.kitchen_light
32-
- switch.alleyway_lights
33-
- switch.backyard_lights
3437
- switch.workstation
3538
- switch.charger
3639
- switch.diffuser
3740
- switch.heating
3841
- switch.boiler
3942
- switch.bed_warmer
4043
- switch.kettle
41-
- switch.porch_light
42-
- switch.hallway_chandelier
4344
- switch.christmas_lights
4445
- climate.heater
4546

@@ -119,23 +120,29 @@
119120
sensor.living_room_humidity:
120121
name: Living Room Humidity
121122

122-
switch.backyard_lights:
123-
name: Backyard String Lights
123+
switch.christmas_lights:
124+
name: Christmas Lights
124125

125126
switch.heating:
126127
name: Heating
127128

129+
light.backyard_lights:
130+
name: Backyard String Lights
131+
132+
light.string_lights:
133+
name: Hallway String Lights
134+
128135
light.shapes:
129136
name: Shapes
130137

131138
light.lamp:
132139
name: Bed Lamp
133140

134-
switch.porch_light:
141+
light.porch_light:
135142
name: Porch Light
136143

137-
switch.hallway_chandelier:
138-
name: Chandelier
144+
light.hallway_chandelier:
145+
name: Hallway Chandelier
139146

140147
media_player.google_tv:
141148
feature_list:

0 commit comments

Comments
 (0)