Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch committed Oct 7, 2023
1 parent 4e217ee commit efce7a8
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://github.com/aneisch/home-assistant-config/actions/workflows/check-ha-release-compatibility.yml/badge.svg)](https://github.com/aneisch/home-assistant-config/actions)
[![GitHub last commit](https://img.shields.io/github/last-commit/aneisch/home-assistant-config)](https://github.com/aneisch/home-assistant-config/commits/master)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/aneisch/home-assistant-config)](https://github.com/aneisch/home-assistant-config/graphs/commit-activity)
[![HA Version](https://img.shields.io/badge/Running%20Home%20Assistant-2023.10.0%20(Latest)-brightgreen)](https://github.com/home-assistant/home-assistant/releases/latest)
[![HA Version](https://img.shields.io/badge/Running%20Home%20Assistant-2023.10.1%20(Latest)-brightgreen)](https://github.com/home-assistant/home-assistant/releases/latest)
<br><a href="https://www.buymeacoffee.com/aneisch" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-black.png" width="150px" height="35px" alt="Buy Me A Coffee" style="height: 35px !important;width: 150px !important;" ></a>


Expand Down Expand Up @@ -56,7 +56,7 @@ Also using Grafana/Influx for graphing, both running in Docker containers on NUC
Description | value
-- | --
Lines of ESPHome YAML | 2467
Lines of Home Assistant YAML | 8116
Lines of Home Assistant YAML | 8119
[Integrations](https://www.home-assistant.io/integrations/) in use | 52
Zigbee devices in [`zha`](https://www.home-assistant.io/integrations/zha/) | 26
Z-Wave devices in [`zwave_js`](https://www.home-assistant.io/integrations/zwave_js/) | 37
Expand Down
3 changes: 3 additions & 0 deletions configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ homeassistant:
allowlist_external_dirs:
- "/tmp"
- "/config"
- "/tmp"
allowlist_external_urls:
- "http://localhost:8123/api/frigate/notifications"
media_dirs:
Expand Down Expand Up @@ -69,6 +70,8 @@ folder_watcher:
- folder: '/tmp'
patterns:
- "database.sqlite"
- folder: '/tmp'
patterns:
- "config.yml"

monitor_docker:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/mail_and_packages/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

DOMAIN = "mail_and_packages"
DOMAIN_DATA = f"{DOMAIN}_data"
VERSION = "0.3.18"
VERSION = "0.3.19"
ISSUE_URL = "http://github.com/moralmunky/Home-Assistant-Mail-And-Packages"
PLATFORM = "sensor"
PLATFORMS = ["binary_sensor", "camera", "sensor"]
Expand Down
5 changes: 5 additions & 0 deletions custom_components/mail_and_packages/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,6 +1378,11 @@ def get_items(
)
else:
email_subject = decode_header(msg["subject"])[0][0]

if not isinstance(email_subject, str):
_LOGGER.debug("Converting subject to string.")
email_subject = email_subject.decode("utf-8", "ignore")

_LOGGER.debug("Amazon Subject: %s", str(email_subject))
pattern = re.compile(r"[0-9]{3}-[0-9]{7}-[0-9]{7}")

Expand Down
2 changes: 1 addition & 1 deletion custom_components/mail_and_packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"Pillow>=9.0"
],
"iot_class": "cloud_polling",
"version": "0.3.18"
"version": "0.3.19"
}
2 changes: 1 addition & 1 deletion extras/docker-compose/homeassistant/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
- /sys/class/hwmon/hwmon1/temp1_input:/sys/class/thermal/thermal_zone0/temp:ro
- /etc/localtime:/etc/localtime:ro
- /frigate-drive:/frigate
- /opt/frigate/config.yml:/tmp/config.yml:ro
- /opt/frigate:/etc/frigate:ro
devices:
- /dev/zigbee
- /dev/usb_modem_sim7080g:/dev/cellular_modem
Expand Down
2 changes: 1 addition & 1 deletion extras/docker-compose/unified/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- /sys/class/hwmon/hwmon1/temp1_input:/sys/class/thermal/thermal_zone0/temp:ro
- /etc/localtime:/etc/localtime:ro
- /frigate-drive:/frigate
- /opt/frigate/config.yml:/tmp/config.yml:ro
- /opt/frigate:/etc/frigate:ro
devices:
- /dev/zigbee
- /dev/usb_modem_sim7080g:/dev/cellular_modem
Expand Down
4 changes: 2 additions & 2 deletions packages/leak_detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ automation:
and is_state('switch.maples_zone', 'off')
and is_state('group.trackers', 'not_home' )
and is_state('input_boolean.guest_mode', 'off')
and not (now().hour == 12 and now.minute in [0,1,2,3,4,5])
and not (now().hour == 10 and now.minute in [16,17,18,19,20,21]) }}"
and not (now().hour == 12 and now().minute in [0,1,2,3,4,5,6])
and not (now().hour == 10 and now().minute in [16,17,18,19,20,21]) }}"
then:
- service: script.notify_wrapper
data:
Expand Down

0 comments on commit efce7a8

Please sign in to comment.