From 28000227fa72f48377150fc4a5665272863840f8 Mon Sep 17 00:00:00 2001 From: ccostan Date: Mon, 22 Jan 2018 14:53:11 -0500 Subject: [PATCH] Keep teaching it to tweet. More and more and more. --- custom_components/sensor/database.py | 2 +- packages/twitter.yaml | 1 + recorder.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/sensor/database.py b/custom_components/sensor/database.py index efbc35fa..aeba1fd2 100755 --- a/custom_components/sensor/database.py +++ b/custom_components/sensor/database.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -PATH = "/Users/hass/.homeassistant/home-assistant_v2.db" +PATH = "/config/home-assistant_v2.db" def setup_platform(hass, config, add_devices, discovery_info=None): diff --git a/packages/twitter.yaml b/packages/twitter.yaml index b3c28683..e3de22ad 100755 --- a/packages/twitter.yaml +++ b/packages/twitter.yaml @@ -162,6 +162,7 @@ automation: "{{states.sensor.doorbell_presses.state}} people came to the door today and pressed the bell.", "The #Docker Host has been running for {{states.sensor.since_last_boot_templated.state}}", "The #Docker Host for Home Assistant is using {{states.sensor.disk_used_.state}}% of the hard drive currently. ", + "My Home Assistant Database is currently using {{states.sensor.database_sensor.state}} MBs. Thanks! @robmarkcole for this #Stat - (https://github.com/robmarkcole/HASS-filesize-sensor)", "The {{states.media_player.living_room_ultra.attributes.friendly_name}} #Roku is playing #{{states.media_player.living_room_ultra.attributes.app_name}}.", "The {{states.media_player.upstairs_living_room.attributes.friendly_name}} #Roku is playing #{{states.media_player.upstairs_living_room.attributes.app_name}}. (http://amzn.to/2lYZEup)", "I am running Home Assistant version {{states.sensor.ha_installed_version.state}} (https://github.com/CCOSTAN/Home-AssistantConfig)", diff --git a/recorder.yaml b/recorder.yaml index 0b861caf..14c9efbc 100755 --- a/recorder.yaml +++ b/recorder.yaml @@ -33,6 +33,7 @@ exclude: - sensor.dark_sky_temperature - sensor.dark_sky_uv_index - sensor.dark_sky_wind_speed +# - sensor.database_sensor - sensor.date - sensor.epson_ink_level_black - sensor.epson_ink_level_cyan