thejeffreystone / home-assistant-configuration

My Old Home Assistant Config. For more Information visit ->
https://slacker-labs.com
410 stars 69 forks source link

move from automations.yaml to presence.yaml #153

Open TRusselo opened 2 years ago

TRusselo commented 2 years ago

https://github.com/thejeffreystone/home-assistant-configuration/blob/40df15b957dd8e89045e53104387c13d9b60b052/config/automations.yaml#L56

lines 56 to 111 ( 2 automations) move from automations.yaml to presence.yaml

welcome[bot] commented 2 years ago

Thanks for helping make this code better! This is the place to request enhancements, ask questions and other things. You can also ask questions via twitter or https://jeffreystone.net

TRusselo commented 2 years ago

similar topic... this pointed out what i was missing and lead to the code change above.

checkout watchman HACS addon.... this is what i have left to clean up for the converstion

some is "missing" due to being commented out, or references missing/non-converted entity, script, automation. line and file of where i need to fix. friggin magic!


-== Watchman Report ==- 

-== Missing 7 service(s) from 47 found in your config:   
+--------------------------------+---------+--------------------------------------------------------------+
| Service ID                     | State   | Location                                                     |
+--------------------------------+---------+--------------------------------------------------------------+
| script.status_annc             | missing | packages/washer.yaml:205                                     |
| notify.all_android             | missing | packages/notifications.yaml:228                              |
| tts.cloud_say                  | missing | packages/notifications.yaml:549,816                          |
| script.standby                 | missing | packages/presence.yaml:195                                   |
| script.morning_briefing        | missing | packages/announcements.yaml:80                               |
| script.twitter_notify          | missing | packages/announcements.yaml:81                               |
| script.morning_wakeup_report   | missing | packages/announcements.yaml:108                              |
+--------------------------------+---------+--------------------------------------------------------------+

-== Missing 81 entity(ies) from 308 found in your config:     1587 total entities
+--------------------------------+---------+--------------------------------------------------------------+
| Entity ID                      | State   | Location                                                     |
+--------------------------------+---------+--------------------------------------------------------------+
| binary_sensor.blueiris_garage_ | missing | groups.yaml:19                                               |
| motion                         |         |                                                              |
| binary_sensor.tristyn_russelo_ | missing | customize.yaml:3                                             |
| s_tristyn_s_note_10_presence   |         |                                                              |
| sensor.temperature             | missing | scripts.yaml:6                                               |
| group.vacation_lights          | missing | scripts.yaml:45,54,56,70,79,81                               |
| sensor.warnings                | missing | automations.yaml:417,427                                     |
| binary_sensor.dryer_water      | missing | automations.yaml:473                                         |
| sensor.washer_energy_meter     | unknown | automations.yaml:1292                                        |
| scene.driveway_left_before_sta | missing | automations.yaml:1335                                        |
| te                             |         |                                                              |
| media_player.ytube_music_playe | missing | custom_components/ytube_music_player/services.yaml:6,19,34,4 |
| r                              |         | 7,60,73,83                                                   |
| sensor.kitchen_device          | missing | custom_components/google_home/services.yaml:9                |
| sensor.kitchen_alarms          | missing | custom_components/google_home/services.yaml:20               |
| sensor.kitchen_timers          | missing | custom_components/google_home/services.yaml:38               |
| scene.none                     | missing | blueprints/automation/networkingcat/yet_another_motion_autom |
|                                |         | ation.yaml:80,98,111,124,137,151,199,206,213,220,242,249     |
| binary_sensor.washer_door      | missing | packages/washer.yaml:110                                     |
| sensor.lava_lamp_power_meter   | missing | packages/sensor.yaml:44                                      |
| binary_sensor.big_d_server     | unavail | packages/sensor.yaml:75,79,83,87,91,95                       |
| media_player.guest_tv          | missing | packages/notifications.yaml:296                              |
| media_player.upstairs_speaker  | missing | packages/notifications.yaml:313,349,417,628,664,718,822      |
| media_player.bedroom_2_display | unavail | packages/notifications.yaml:317,353,421,632,668,722,826      |
| media_player.master_bathroom   | missing | packages/notifications.yaml:331,367,435,646,682,736,840      |
| media_player.ha_speaker        | missing | packages/notifications.yaml:335,338,371,374,439,442,585,587, |
|                                |         | 650,653,686,689,740,743,844,847,863,872,878,882              |
| media_player.tv                | missing | packages/notifications.yaml:699                              |
| input_number.old_volume        | missing | packages/notifications.yaml:867                              |
| binary_sensor.garage_door      | missing | packages/notifications.yaml:1065                             |
| input_boolean.freeze_warning   | missing | packages/notifications.yaml:1083                             |
| input_boolean.tristyn_travel_m | missing | packages/notifications.yaml:1106                             |
| onitor                         |         |                                                              |
| input_boolean.terry_travel_mon | missing | packages/notifications.yaml:1124                             |
| itor                           |         |                                                              |
| sensor.terry_location          | unknown | packages/notifications.yaml:1128,1138,1140,1143              |
| script.welcome_briefing        | missing | packages/presence.yaml:142,202                               |
| group.arriving                 | missing | packages/presence.yaml:156,157                               |
| sensor.family_status           | unknown | packages/presence.yaml:193,207                               |
| scene.lights_out               | missing | packages/presence.yaml:210                                   |
| input_boolean.sentry_mode      | missing | packages/presence.yaml:212                                   |
| media_player.croft_speaker     | missing | packages/audio.yaml:175                                      |
| media_player.bathroom_2_speake | missing | packages/audio.yaml:190                                      |
| r                              |         |                                                              |
| media_player.master_bathroom_s | missing | packages/audio.yaml:191                                      |
| peaker                         |         |                                                              |
| sensor.name                    | missing | packages/audio.yaml:239,245,247,249,251,253,255,257,259,261, |
|                                |         | 263                                                          |
| media_player.living_room_echo_ | missing | packages/audio.yaml:279                                      |
| show                           |         |                                                              |
| media_player.skylar_s_bedroom  | missing | packages/audio.yaml:281                                      |
| sensor.time                    | missing | packages/announcements.yaml:45,56                            |
| binary_sensor.kitchen_occupanc | missing | packages/announcements.yaml:70                               |
| y                              |         |                                                              |
| input_boolean.good_morning_rep | missing | packages/announcements.yaml:77,94,127                        |
| ort                            |         |                                                              |
| binary_sensor.workday_sensor   | missing | packages/announcements.yaml:105                              |
| sensor.lightning_warning       | missing | packages/announcements.yaml:113                              |
| group.incense                  | missing | packages/jarvis.yaml:22,38                                   |
| sensor.time_hour               | missing | packages/canadian_weather.yaml:16,35                         |
| sensor.acurite_6045m_3078_f    | missing | templates/speech/morning_wakeup_report.yaml:14               |
| sensor.clothing_forecast       | missing | templates/speech/morning_wakeup_report.yaml:54,56,58,60,68,7 |
|                                |         | 6                                                            |
| input_boolean.school_today     | missing | templates/speech/morning_wakeup_report.yaml:95,114,126       |
| input_datetime.school_day_end  | missing | templates/speech/morning_wakeup_report.yaml:95,103,114       |
| sensor.school_start_days2go    | missing | templates/speech/morning_wakeup_report.yaml:96               |
| sensor.school_event            | missing | templates/speech/morning_wakeup_report.yaml:104,107,114,126  |
| sensor.school_lunch            | missing | templates/speech/morning_wakeup_report.yaml:115              |
| calendar.skylar_events         | missing | templates/speech/morning_wakeup_report.yaml:130              |
| input_boolean.skylar_awake     | missing | templates/speech/morning_wakeup_report.yaml:136              |
| media_player.theater_tv        | missing | templates/speech/morning_wakeup_report.yaml:138              |
| input_boolean.skylar_dressed_r | missing | templates/speech/morning_wakeup_report.yaml:140,148          |
| eminder                        |         |                                                              |
| media_player.croft_tv          | missing | templates/speech/morning_wakeup_report.yaml:146              |
| input_boolean.skylar_school    | missing | templates/speech/morning_wakeup_report.yaml:154              |
| input_boolean.heartworm        | missing | templates/speech/morning_briefing.yaml:71                    |
| sensor.today_is                | missing | templates/speech/morning_briefing.yaml:76                    |
| sensor.halloween_countdown     | missing | templates/speech/morning_briefing.yaml:86                    |
| sensor.christmas_countdown     | missing | templates/speech/morning_briefing.yaml:89                    |
| sensor.anniversary_our_wedding | missing | templates/speech/morning_briefing.yaml:92                    |
| calendar.holidays_in_united_st | missing | templates/speech/morning_briefing.yaml:95                    |
| ates                           |         |                                                              |
| calendar.anchorage_holidays    | missing | templates/speech/morning_briefing.yaml:98                    |
| sensor.front_door_motion_away_ | missing | templates/speech/daily_briefing.yaml:118                     |
| count                          |         |                                                              |
| binary_sensor.midday           | missing | templates/speech/daily_briefing.yaml:134                     |
| sensor.school_end_days2go      | missing | templates/speech/daily_briefing.yaml:314                     |
| climate.home                   | missing | templates/speech/daily_briefing.yaml:406,408                 |
| binary_sensor.croft_occupancy  | missing | templates/speech/daily_briefing.yaml:426                     |
| binary_sensor.theater_occupanc | missing | templates/speech/daily_briefing.yaml:438                     |
| y                              |         |                                                              |
| media_player.home_theater_2    | missing | templates/speech/daily_briefing.yaml:440                     |
| group.external_doors           | missing | templates/speech/security_briefing.yaml:24,25                |
| binary_sensor.side_door        | missing | templates/speech/sundown_briefing.yaml:67                    |
| group.people                   | missing | templates/speech/welcome_briefing.yaml:5                     |
| input_boolean.washer_finished  | missing | alerts/washing_machine_finished.yaml:6                       |
| input_boolean.security_issue   | missing | alerts/unauthorized_access.yaml:4                            |
| input_boolean.lockdown_issue   | missing | alerts/lockdown_issue.yaml:4                                 |
| input_boolean.tristyn_traffic_ | missing | alerts/tristyn_bad_traffic_home.yaml:4                       |
| alert_home                     |         |                                                              |
| input_boolean.garage_after_dar | missing | alerts/garage_after_dark.yaml:4                              |
| k                              |         |                                                              |
+--------------------------------+---------+--------------------------------------------------------------+
TRusselo commented 2 years ago

oops wrong button