removed dupe #182

Closed
onkelbeh wants to merge 7381 commits from master into new_use_flags_0.115
7021 changed files with 94845 additions and 100914 deletions

View File

@ -0,0 +1,44 @@
name: 'HA Frontend - check new release'
on:
workflow_dispatch:
schedule:
- cron: '17 * * * *' # @Hourly
jobs:
check-new-release:
runs-on: ubuntu-latest
outputs:
skip: ${{ steps.check-version.outputs.cache-hit }}
steps:
- name: Get latest version
id: latest-version
run: |
wget -qO - https://api.github.com/repos/home-assistant/frontend/releases/latest|jq -r '.tag_name' > latest-release
cat latest-release
echo "::set-output name=latest-version::$(cat latest-release)"
- name: Check if we allready did this version
id: check-version
uses: actions/cache@v2
with:
key: ${{ steps.latest-version.outputs.latest-version }}
path: latest-release
make-ha-frontend-sdist:
needs: check-new-release
if: ${{ !needs.check-new-release.outputs.skip }}
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'onkelbeh',
repo: 'HomeAssistantRepository',
workflow_id: 'make-ha-frontend-sdist.yml',
ref: 'master'
})

37
.github/workflows/emerge-med.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: emerge ha-med
on:
workflow_dispatch:
schedule:
- cron: '15 9 * * *' # Daily
jobs:
emerge-ha-med:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonfischl1980/gentoo-ci:main
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: emerge-sync
run: |
sudo -u portage git -C /var/db/repos/gentoo pull
emerge --sync
- name: repos.conf/HomeAssistantRepository
run: |
mkdir -p /etc/portage/repos.conf/
echo -en "[HomeAssistantRepository]\nlocation = " >/etc/portage/repos.conf/HomeAssistantRepository.conf
pwd -P >> /etc/portage/repos.conf/HomeAssistantRepository.conf
cat /etc/portage/repos.conf/*.conf
- name: /etc/portage/
run: |
rsync -aHDPSv etc/portage/ /etc/portage/
- name: emerge
run: |
emerge --jobs=4 --autounmask=y --autounmask-continue=y dev-lang/rust-bin
emerge --jobs=4 --autounmask=y --autounmask-continue=y app-misc/homeassistant

37
.github/workflows/emerge-min.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: emerge ha-min
on:
workflow_dispatch:
schedule:
- cron: '15 8 * * *' # Daily
jobs:
emerge-ha-min:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonfischl1980/gentoo-ci:main
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: emerge-sync
run: |
sudo -u portage git -C /var/db/repos/gentoo pull
emerge --sync
- name: repos.conf/HomeAssistantRepository
run: |
mkdir -p /etc/portage/repos.conf/
echo -en "[HomeAssistantRepository]\nlocation = " >/etc/portage/repos.conf/HomeAssistantRepository.conf
pwd -P >> /etc/portage/repos.conf/HomeAssistantRepository.conf
cat /etc/portage/repos.conf/*.conf
- name: /etc/portage/
run: |
rsync -aHDPSv etc/portage/ /etc/portage/
- name: emerge
run: |
emerge --autounmask=y --autounmask-continue=y dev-lang/rust-bin
emerge --jobs=4 --autounmask=y --autounmask-continue=y app-misc/homeassistant-min

47
.github/workflows/emerge-p310-med.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: emerge ha-med on 3.10
on:
workflow_dispatch:
schedule:
- cron: '15 11 * * *' # Daily
jobs:
emerge-ha-med-310:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonfischl1980/gentoo-ci:main
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: emerge-sync
run: |
sudo -u portage git -C /var/db/repos/gentoo pull
emerge --sync
- name: repos.conf/HomeAssistantRepository
run: |
mkdir -p /etc/portage/repos.conf/
echo -en "[HomeAssistantRepository]\nlocation = " >/etc/portage/repos.conf/HomeAssistantRepository.conf
pwd -P >> /etc/portage/repos.conf/HomeAssistantRepository.conf
cat /etc/portage/repos.conf/*.conf
- name: Switch to Python 3.10
run: |
echo "USE_PYTHON=\"3.10 3.9\"" >>/etc/portage/make.conf
echo "PYTHON_TARGETS=\"python3_10 python3_9\"" >>/etc/portage/make.conf
echo "PYTHON_SINGLE_TARGET=\"python3_10\"" >>/etc/portage/make.conf
emerge --jobs=4 -tv app-eselect/eselect-python app-portage/eix
eselect python set python3.10
eix-update
eix -I# --installed-without-use python_targets_python3_10 | xargs emerge --jobs=4 -1tv
- name: /etc/portage/
run: |
rsync -aHDPSv etc/portage/ /etc/portage/
- name: emerge
run: |
emerge --jobs=4 --autounmask=y --autounmask-continue=y dev-lang/rust-bin
emerge --jobs=4 --autounmask=y --autounmask-continue=y app-misc/homeassistant

47
.github/workflows/emerge-p310-min.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: emerge ha-min on 3.10
on:
workflow_dispatch:
schedule:
- cron: '15 10 * * *' # Daily
jobs:
emerge-ha-min-310:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonfischl1980/gentoo-ci:main
options: --privileged
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: emerge-sync
run: |
sudo -u portage git -C /var/db/repos/gentoo pull
emerge --sync
- name: repos.conf/HomeAssistantRepository
run: |
mkdir -p /etc/portage/repos.conf/
echo -en "[HomeAssistantRepository]\nlocation = " >/etc/portage/repos.conf/HomeAssistantRepository.conf
pwd -P >> /etc/portage/repos.conf/HomeAssistantRepository.conf
cat /etc/portage/repos.conf/*.conf
- name: Switch to Python 3.10
run: |
echo "USE_PYTHON=\"3.10 3.9\"" >>/etc/portage/make.conf
echo "PYTHON_TARGETS=\"python3_10 python3_9\"" >>/etc/portage/make.conf
echo "PYTHON_SINGLE_TARGET=\"python3_10\"" >>/etc/portage/make.conf
emerge --jobs=4 -tv app-eselect/eselect-python app-portage/eix
eselect python set python3.10
eix-update
eix -I# --installed-without-use python_targets_python3_10 | xargs emerge --jobs=4 -1tv
- name: /etc/portage/
run: |
rsync -aHDPSv etc/portage/ /etc/portage/
- name: emerge
run: |
emerge --jobs=4 --autounmask=y --autounmask-continue=y dev-lang/rust-bin
emerge --jobs=4 --autounmask=y --autounmask-continue=y app-misc/homeassistant-min

View File

@ -0,0 +1,87 @@
name: 'HA Frontend - make SDIST'
on:
workflow_dispatch:
inputs:
frontend_version:
description: 'Home Assistant Frontend Version'
required: true
default: 'latest'
env:
PYTHON_VERSION: 3.8
NODE_VERSION: 14
NODE_OPTIONS: --max_old_space_size=6144
jobs:
make-sdist:
runs-on: ubuntu-latest
steps:
- name: get-version
id: get-version
run: |
if [ "${{ github.event.inputs.frontend_version }}" == "latest" ];then
wget -qO - https://api.github.com/repos/home-assistant/frontend/releases/latest|jq -r '.tag_name'
echo "{version}=$(wget -qO - https://api.github.com/repos/home-assistant/frontend/releases/latest|jq -r '.tag_name') >> $GITHUB_OUTPUT"
else
echo "${{ github.event.inputs.frontend_version }}"
echo "{version}=${{ github.event.inputs.frontend_version }} >> $GITHUB_OUTPUT"
fi
- name: Checkout frontend repository
uses: actions/checkout@v3
with:
repository: home-assistant/frontend
ref: ${{ steps.get-version.outputs.version }}
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
- name: Install dependencies
run: yarn install
#- name: Download Translations
# run: ./script/translations_download
# env:
# LOKALISE_TOKEN: ${{ secrets.LOKALISE_TOKEN }}
- name: Build and release package
run: |
python3 -m pip install build
#export TWINE_USERNAME="__token__"
#export TWINE_PASSWORD="${{ secrets.TWINE_TOKEN }}"
#script/release
script/build_frontend
rm -rf dist home_assistant_frontend.egg-info
python3 -m build
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: ha-frontend-${{ steps.get-version.outputs.version }}
path: ./dist/*.tar.gz
- name: Upload SDIST to nextcloud
run: |
sudo add-apt-repository ppa:nextcloud-devs/client
sudo apt update
sudo apt install nextcloud-client
rm dist/*.whl
sudo nextcloudcmd -s -u ${{ secrets.NEXTCLOUD_USER }} -p ${{ secrets.NEXTCLOUD_PASSWORD }} --non-interactive dist/ ${{ secrets.NEXTCLOUD_URL }}
- name: Create Issue
uses: actions-ecosystem/action-create-issue@v1
with:
github_token: ${{ secrets.PAT_TOKEN }}
title: new HA Frontend ${{ steps.get-version.outputs.version }}
body: |
SDIST uploaded to nextcloud

18
.github/workflows/pkgcheck.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: pkgcheck
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '35 13 * * *' # Daily
jobs:
pkgcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run pkgcheck
uses: pkgcore/pkgcheck-action@v1

24
.github/workflows/shellcheck.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: shellcheck
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run shellcheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -s bash -e SC2034 -e SC2016
with:
additional_files: '*.ebuild'
ignore_paths: coverage numpy opencv orjson pandas pillow tensorflow protobuf yarl aiohttp pytest-cov

2
.gitignore vendored
View File

@ -6,3 +6,5 @@
/repoman/*
/tools/
/metadata/md5-cache/
/ha-tools/
/parking/

File diff suppressed because it is too large Load Diff

906
DOMAINTABLE.md Normal file
View File

@ -0,0 +1,906 @@
|USEFlag|Description|homeassistant-min|homeassistant|Homeassistant-full|introduced|
|---|---|---|---|---|---|
|abode|Library for the Abode alarm API|N|Y|Y|0.52|
|accuweather|Uses the AccuWeather web service as a source for weather data|Y|Y|Y|0.114|
|acer_projector|Allows you to control the state of RS232 connected projectors from Acer|N|Y|Y|0.19|
|acmeda|Control and monitor covers via your Rolelase Acmeda Automate hub|N|Y|Y|0.111|
|adax|Integrates Adax heater into Home Assistant|N|N|Y|2021.8.0|
|adguard|Monitor your ad- and tracker-blocking DNS server|N|Y|Y|0.95|
|ads|Beckhoff automation devices running TwinCAT|N|Y|Y|0.60|
|advantage_air|API helper for Advantage Air's MyAir and e-zone API|N|N|Y|0.117|
|aemet| AEMET OpenData meteorological data|N|N|Y|2021.3|
|aftership|The aftership platform allows one to track deliveries by AfterShip|N|Y|Y|0.85|
|agent_dvr|Agent DVR is a free* software DVR solution|N|Y|Y|0.110|
|airly|Uses the Airly web service as a source for air quality data|Y|Y|Y|0.101|
|airnow|AirNow web service as a source for air quality data|N|N|Y|2021.2|
|airq|integrating the sensors provided by your air-Q device|N|N|Y|2022.12.0|
|airthings|A python3 library to communicate with Aws|N|N|Y|2021.10.0b2|
|airthings_ble|Integrates Airthings BLE sensors into Home Assistant|N|N|Y|2022.11.0b3|
|airtouch4|control Ducted Air Conditioning Systems that are using the AirTouch 4 Controller|N|N|Y|2021.9.0b1|
|airvisual|Airvisual sensor platform queries the AirVisual cloud API for air quality data|Y|Y|Y|0.53|
|airvisual_pro|allows Home Assistant to retrieve data from an AirVisual Node/Pro unit|N|N|Y|2023.1.1|
|airzone|This integration allows getting values from the local API of Airzone HVAC zoning|N|N|Y|2022.4.0b0|
|aladdin_connect|The aladdin_connect cover platform lets you control Genie Aladdin Connect garage|N|Y|Y|0.75|
|alarmdecoder|AlarmDecoder extended|N|Y|Y|0.43|
|almond|Almond is an open, privacy-preserving virtual assistant by Stanford Open Virtual|N|Y|Y|0.102|
|alpha_vantage|The alpha_vantage sensor platform uses Alpha Vantage to monitor the stock market|Y|Y|Y|0.60|
|amazon_polly|Text-to-speech platform that works with Amazon Polly|N|N|Y|0.37|
|ambee|Asynchronous Python client for the Ambee API|N|N|Y|2021.7|
|amberelectric|Interface to the Amber Electric API, allowing you to download current and foreca|N|N|Y|2021.10.0b2|
|ambiclimate|Communicate with Ambiclimate devices|N|Y|Y|0.93|
|ambient_station|Retrieves local weather information from Ambient Weather|N|Y|Y|0.85|
|amcrest|Integrate your Amcrest or Dahua IP camera|N|Y|Y|0.49|
|ampio|Will query the open data API of ampio.pl to monitor air quality sensor station|N|Y|Y|0.92|
|androidtv|Library for controlling an Android TV, formerly firetv|Y|Y|Y|0.7.6|
|android_ip_webcam|The android_ip_webcam integration turns any Android phone or tablet into a netwo|Y|Y|Y|0.40|
|anel_pwrctrl|The anel_pwrctrl switch platform allows you to control ANEL PwrCtrl devices|N|Y|Y|0.30|
|anthemav|Both Anthems current and last generation of A/V Receivers and Processors suppor|N|Y|Y|0.37|
|apache_kafka|Sends all state changes from Home Assistant to a Apache Kafka topic|N|Y|Y|0.97|
|apcupsd|Query Apcupsd status information from Home Assistant|N|Y|Y|0.13|
|apns|Use Apple Push Notification service (APNS) to deliver notifications|N|N|Y|0.31|
|apple_tv|Library for controlling an Apple TV|N|Y|Y|0.49|
|apprise|The Apprise service is an all-in-one solution to open up Home Assistant|N|Y|Y|0.101|
|aprs|Tracker integration connects to the APRS-IS|N|N|Y|0.95|
|aqualogic|Provides connectivity to a Hayward/Goldline AquaLogic/ProLogic pool controller|N|N|Y|0.80|
|aquostv|The aquostv platform allows you to control a Sharp Aquos TV|N|Y|Y|0.35|
|aranet|Integrates Aranet devices into Home Assistant|N|N|Y|2022.12.0|
|arcam_fmj|Control Arcam receivers from Home Assistant|N|Y|Y|0.96|
|arlo|Allows you to integrate your Arlo devices into Home Assistant|N|N|Y|0.46|
|arris_tg2492lg|Presence detection from an Arris TG2492LG router|N|N|Y|0.109|
|aruba|Presence detection by looking at connected devices to an Aruba Instant device|N|Y|Y|0.7|
|aseko_pool_live|allows you to monitor your Aseko ASIN Aqua dosing systems|N|N|Y|2022.2.0b1|
|asterisk_mbox|asterisk_mbox Asterisk Voicemail integration|N|N|Y|0.51|
|asuswrt|Api wrapper for Asuswrt|N|Y|Y|0.83|
|atag|Connect to Atag One thermostats, reporting and setting its status|N|N|Y|0.109|
|aten_pe|The aten_pe integration lets you control ATEN Rack PDUs from Home Assistant|N|Y|Y|0.103|
|atome|The atome sensor platform is retrieving the consumption of your home from the Di|N|Y|Y|0.99|
|august|The august integration allows you to integrate your August devices in Home Assis|N|Y|Y|0.64|
|aurora|The aurora platform uses the NOAA Aurora Forecast service to let you know if an |N|N|Y|0.39|
|aurora_abb_powerone|This implements a direct RS485 connection to a solar inverter in the PVI-3.0/3.6|N|Y|Y|0.96|
|aussie_broadband|displays various service metrics using the Aussie Broadband API|N|N|Y|2022.2.0b1|
|avea|Library for Elgato Avea bulbs|N|Y|Y|0.97|
|avion|Support for the Avi-on Bluetooth dimmer switch Avi-on|N|Y|Y|0.37|
|awair|Library to integrate the Awair GraphQL API into Home Assistant|N|Y|Y|0.84|
|aws|Interact with Amazon Web Services|N|N|Y|0.91|
|axis|Communicating with newer devices from Axis Communications|Y|Y|Y|0.45|
|backup|allows you to create and download backups for your Home Assistant Core|N|Y|Y|2022.4.0b0|
|baf|Integrates Big Ass Fans devices into Home Assistant|N|N|Y|2022.6.0b0|
|baidu|Text-to-speech platform uses Baidu TTS engine to read a text with natural soundi|N|Y|Y|0.59|
|balboa|This integration adds support for Balboa Spa WiFi Modules|N|N|Y|2021.12.0b0|
|bbb_gpio|Base for all BeagleBone Black related GPIO platforms|N|N|Y|0.36|
|bbox|Presence detection from Bbox Modem Router from Bouygues Telecom|N|N|Y|0.31|
|beewi_smartclim|BeeWi SmartClim BLE is a Bluetooth Low Energy sensor device|N|Y|Y|0.99|
|bh1750|Allows you to read the ambient light level in Lux from a BH1750FVI sensor connec|N|Y|Y|0.48|
|bitcoin|Displays various details about the Bitcoin network|N|Y|Y|0.7|
|bizkaibus|The bizkaibus sensor will give you the time until the next bus in the selected s|N|Y|Y|0.93|
|blackbird|Control Monoprice Blackbird Matrix Switch using a serial connection|N|Y|Y|0.68|
|blebox|BleBox produces small, low-power, surprisingly affordable, feature-rich WiFi dev|N|Y|Y|0.110|
|blink|Get events from Blink camera and security systems|N|Y|Y|0.40|
|blinksticklight|The blinkstick platform lets you control your Blinkstick lights|N|Y|Y|0.7.5|
|blinkt|The blinkt light platform lets you control the Blinkt! board, featuring eight su|N|Y|Y|0.44|
|blockchain|Displays Bitcoin wallet balances from blockchain.info|N|Y|Y|0.47|
|bluemaestro|Integrates BlueMaestro devices into Home Assistant|N|N|Y|2022.9.0b4|
|bluesound|Allows you to control your Bluesound HiFi wireless speakers and audio integratio|N|N|Y|0.51|
|bluetooth|The Bluetooth integration will detect nearby Bluetooth devices|Y|Y|Y|2022.8.1|
|bluetooth_le_tracker|Tracks Bluetooth low-energy devices periodically based on interval_seconds value|Y|Y|Y|0.27|
|bluetooth_tracker|Discovers new devices on boot and tracks Bluetooth devices periodically|N|Y|Y|0.18|
|bme280|Bosch BME280 Environmental sensor connected via I2c bus (SDA, SCL pins)|N|Y|Y|0.48|
|bme680|Read temperature, humidity, pressure and gas resistance values of a Bosch BME680|N|Y|Y|0.62|
|bmp280|Get temperature and pressure values of a Bosch BMP280 Environmental sensor conne|N|N|Y|0.108|
|bmw_connected_drive|Retrieve data from the BMW Connected Drive|N|Y|Y|0.64|
|bond|Asynchronous Python wrapper library over Bond Local API|N|Y|Y|0.113|
|bosch_shc|integrate your Bosch SHC into Home Assistant|N|N|Y|2021.6|
|braviatv|Control almost all Sony Bravia TV 2013 and newer|N|Y|Y|0.23|
|broadlink|Allows you to interact with Broadlink remote control devices|N|Y|Y|0.35|
|brother|Read current data from your local Brother printer|N|Y|Y|0.104|
|brottsplatskartan|brottsplatskartan sensor allows one to track reported incidents|N|Y|Y|0.85|
|brunt|The brunt platform allows one to control Blind Engines by Brunt|N|Y|Y|0.75|
|bsblan|This integration integrates BSBLan device into Home Assistant|N|Y|Y|0.110|
|bthome|Integrates BTHome BLE devices into Home Assistant|N|N|Y|2022.9.0b3|
|bt_home_hub_5|Offers presence detection by looking at connected devices to a BT Home |N|Y|Y|0.22|
|bt_smarthub|Presence detection by looking at BT Smart Hub based routers|N|Y|Y|0.82|
|buienradar|Integrate buienradar weather data into Home Assistant|N|Y|Y|0.47|
|caldav|Integrate a CalDAV (RFC4791) calendar in Home Assistant|Y|Y|Y|0.60|
|camera|The camera integration allows you to use IP cameras with Home Assistant|Y|Y|Y|0.7|
|canary|Allows you to integrate your Canary devices from Home Assistant|N|Y|Y|0.60|
|cast|Let Home Assitant talk to Google Chromecast|Y|Y|Y||
|channels|Allows you to control Channels from Home Assistant|N|N|Y|0.65|
|circuit|Unify Circuit platform allows you to send notifications|N|N|Y|0.111|
|cisco_ios|Presence detection scanner for Cisco IOS devices|N|N|Y|0.33|
|cisco_mobility_express|ciscomobilityexpress support for Home Assistant|N|Y|Y|0.90|
|cisco_webex_teams|Deliver rich notifications from Home Assistant to Cisco Webex Teams|N|N|Y|0.40|
|clementine|The clementine platform allows you to control a Clementine Music Player|N|N|Y|0.39|
|cli|Set a dependency for Home Assistant Cli hass-cli (lots of modules required)|Y|Y|Y|None|
|climacell|obtain weather information from the ClimaCell API|N|N|Y|2021.3|
|cloud|Quickly integrate your local Home Assistant with various cloud services|N|N|Y|0.60|
|cloudflare|With the cloudflare integration, you can keep your Cloudflare records up to date|N|N|Y|0.74|
|cmus|Allows you to control a cmus music player from Home Assistant|N|N|Y|0.23|
|co2signal|Queries the CO2Signal API for the CO2 intensity of a specific region|Y|Y|Y|0.87|
|coinbase|Lets you access account balances and exchange rates from coinbase|N|N|Y|0.61|
|color_extractor|color_extractor extracts the predominant color from a given image|N|N|Y|0.118|
|comfoconnect|Comfoconnect integration lets you control Zehnder ComfoAir|N|N|Y|0.48|
|compensation|Compensation integration consumes the state from other sensors|Y|Y|Y|2021.5|
|concord232|Provides integration with GE, Interlogix (and other brands) alarm panels|N|N|Y|0.31|
|control4|Allows you to control and monitor lights from your local Control4 system|N|N|Y|0.114|
|coolmaster|The coolmaster climate platform lets you control HVAC through CoolMasterNet|N|N|Y|0.88|
|coronavirus|Add sensors for COVID-19 infections from Johns Hopkins University|Y|Y|Y|0.106|
|cppm_tracker|Detect presence by looking at connected devices to Aruba Clearpass|N|N|Y|0.90|
|cpuspeed|The cpuspeed sensor platform to allow you to monitor the current CPU speed|N|N|Y||
|crownstone|allows you to control your Crownstones via cloud or using a USB dongle|N|N|Y|2021.10.0b2|
|cups|Using the open source printing system CUPS to show details about your printers|N|N|Y|0.32|
|daikin|Integrate Daikin wireless controllers into Home Assistant|N|Y|Y|0.59|
|danfoss_air|The danfoss_air integration accesses information from your Danfoss Air HRV unit|N|N|Y|0.87|
|darksky|Use dark sky weather data from Home Assistant|Y|Y|Y|0.30|
|datadog|The datadog integration sends all state changes to Datadog using a Datadog Agent|N|N|Y|0.45|
|debugpy|Useful in testing changes on a local development install|N|N|Y|0.112|
|deconz|Add deCONZ ConBee/RaspBee Zigbee gateways to Home Assistant|N|Y|Y|0.61|
|decora|Support Decora Bluetooth dimmer switch Leviton from Home Assistant|N|N|Y|0.37|
|decora_wifi|Support for Leviton Decora Wi-Fi dimmers/switches via the MyLeviton API|N|N|Y|0.51|
|delijn|De Lijn public transport network in Flanders|N|Y|Y|0.97|
|deluge|Local polling for Deluge Switches and Sensors|N|N|Y|0.57|
|denonavr|Automation Library for Denon AVR receivers|N|Y|Y|0.7.2|
|deutsche_bahn|will give you the departure time of the next train for the given connection|N|Y|Y|0.14|
|devolo_home_control|Add Devolo Home-control to Home Assistant|N|Y|Y|0.110|
|devolo_home_network|The devolo Home Network integration allows you to monitor your PLC network|N|N|Y|2021.12.0b0|
|dexcom|View your CGM data from Dexcom from Home Assistant|N|Y|Y|0.113|
|dhcp|will watch the network for DHCP requests for supported devices and services|N|Y|Y|2021.2|
|dht|Get the current temperature and humidity from a DHT11, DHT22 or AM2302 device|N|Y|Y|0.7|
|digitalloggers|Switch platform controls the state of your Digital Loggers switches|N|N|Y|0.35|
|digital_ocean|Access information about your Digital Ocean droplets from Home Assistant|N|N|Y|0.30|
|directv|Allows you to control a DirecTV receiver and its client devices|N|N|Y|0.25|
|discogs|Discogs Client for Home Assistant|N|Y|Y|0.61|
|discord|Send messages to the user using Discord from Home Assistant|N|Y|Y|0.37|
|discovery|Automatically configure zeroconf/mDNS and UPnP devices in Home Assistant|N|Y|Y|0.7|
|dlib_face_detect|Image processing platform for Home Assistant|N|N|Y|0.44|
|dlib_face_identify|image processing platform allows you to use the Dlib|N|N|Y|0.44|
|dlink|Allows you to control the state of your D-Link Wi-Fi Smart Plugs|N|N|Y|0.14|
|dlna_dmr|Allows you to control a DLNA Digital Media Renderer|Y|Y|Y|0.76|
|dlna_dms|allows you to browse and play media from a DLNA Digital Media Server|Y|Y|Y|2022.3.0b3|
|dnsip|will expose an IP address, fetched via DNS resolution, as its value|N|N|Y|0.40|
|dominos|dominos integration allows you to order Dominos Pizza|N|N|Y|0.59|
|doods| image processing integration allows you to detect and recognize objects|N|N|Y|0.100|
|doorbird|The doorbird implementation allows you to integrate your DoorBird device|N|Y|Y|0.54|
|dormakaba_dkey|Integrates Dormakaba dKey Bluetooth Low Energy connected locks|N|N|Y|2023.3.0b3|
|dovado|The dovado integration manages communication with the Dovado router|N|N|Y|0.87|
|dsmr|Dutch Smart Meters which comply to DSMR (Dutch Smart Meter Requirements)|N|N|Y|0.34|
|dunehd|control a Dune HD media player|N|Y|Y|0.34|
|dwd_weather_warnings|dwd_weather_warnings sensor platform uses DWD for warnings|Y|Y|Y|0.51|
|dweet|transfer details collected with Home Assistant to Dweet.io|N|N|Y|0.19|
|dynalite|Dynalite DyNET interface forHome Assistant |N|Y|Y|0.106|
|dyson|integrate all Dyson related platforms into Home Assistant|N|Y|Y|0.47|
|eafm|UK Environment Agency Flood Monitoring API to provide sensors|N|N|Y|0.115|
|easyenergy|integrates the easyEnergy API platform with Home Assistant|N|N|Y|2023.3.0b3|
|ebox|Integrate your EBox account information into Home Assistant|N|N|Y|0.39|
|ebusd|Integration between ebusd daemon for communication with eBUS heating systems|N|N|Y|0.88|
|ecoal_boiler|The ecoal_boiler integration is the base for pumps and sensors|N|N|Y|0.87|
|ecobee|Talk to Ecobee thermostats from Home Assistant|N|Y|Y|0.9|
|econet|consuming the information provided by a EcoNet enabled Rheem water heater|N|N|Y|0.61|
|ecovacs|ecovacs integration to integrate all Ecovacs (Deebot) vacuums|N|N|Y|0.77|
|ecowitt|add Ecowitt Weather station to your Home Assistant|Y|Y|Y|2022.9.0b3|
|eddystone_temperature|reads temperature information from Eddystone beacons|N|N|Y|0.42|
|edimax|switch platform allows you to control the state of your Edimax switches|N|N|Y||
|edl21|edl21 integration lets you read German EDL21 smart meters using SML|N|N|Y|0.107|
|ee_brightbox|presence detection by looking at connected devices to a EE Bright Box 2 router|N|N|Y|0.87|
|efergy|Integrate your Efergy meter information into Home Assistant|N|N|Y||
|egardia|Control an Egardia/Woonveilig alarm control panel from Home Assistant|N|N|Y|0.65|
|eight_sleep|Fetch data from your Eight Sleep smart cover or mattress|N|N|Y|0.44|
|elgato|The Elgato Key Light sets the bar for high-end studio lighting|N|N|Y|0.104|
|eliqonline|Integrate your ELIQ Online smart meter information|N|N|Y|0.10|
|elkm1|Elk-M1 is a home security and automation controller|N|N|Y|0.81|
|elmax|enables Home Assistant integration with ELMAX control panels|N|N|Y|2022.2.0b1|
|elv|control the state of your ELV PCA 301 smart switch|N|N|Y|0.95|
|emby|The emby platform allows you to control a Emby multimedia system|N|N|Y|0.32|
|emonitor|SiteSage Emonitor allows local power monitoring on a per circuit basis|N|N|Y|2021.5|
|emulated_hue|Emulated_hue integration provides a virtual Philips Hue bridge|N|N|Y|0.27|
|emulated_kasa|Emulates a TP-Link Kasa smart plug and announces the power usage|N|N|Y|0.115|
|emulated_roku|Emulate Roku API for Harmony and Android remotes|N|Y|Y|0.86|
|energyzero|integrates the EnergyZero API platform with Home Assistant|N|N|Y|2023.2.1|
|enigma2|Support for Enigma2 boxes with openwebif support|Y|Y|Y|0.90|
|enocean|Support for Enocean devices in Home Assistant|N|Y|Y|0.21|
|enphase_envoy|Reads electricity production and consumption from an Enphase Envoy|N|Y|Y|0.76|
|entur_public_transport|entur_public_transport sensor gives real-time departure information|N|N|Y|0.84|
|environment_canada|Access meteorological data from Environment Canada from Home Assistant|N|Y|Y|0.95|
|envirophat|Display information collected by an Enviro pHAT add-on board|N|N|Y|0.44|
|envisalink|Link Envisalink devices to Home Assistant|N|N|Y|0.23|
|ephember|The ephember climate platform lets you control EPH Controls thermostats|N|N|Y|0.57|
|epson|The epson platform allows you to control a Epson projector|N|N|Y|0.72|
|epsonworkforce|monitor the ink levels of a Epson Workforce printer|N|N|Y|0.92|
|eq3btsmart|Integrate EQ3 Bluetooth Smart Thermostats in Home Assistant|N|N|Y|0.18|
|escea|allows monitoring and control of local Escea fireplaces|N|N|Y|2022.9.0b3|
|esphome|Support for esphome sensors, covers and switches and it's dashboard|Y|Y|Y|0.85|
|essent|communicate with the (undocumented) API of Dutch energy provider Essent|N|N|Y||
|etherscan|displays Ether and ERC-20 token balances from Etherscan.io|N|N|Y|0.47|
|eufy|eufy integration is the main integration to integrate various eufy devices|N|N|Y|0.68|
|eufylife_ble|integrate Eufy smart scales with Home Assistant|N|N|Y|2023.2.1|
|everlights|Library for controlling an EverLights lighting system|N|Y|Y|0.87|
|evil_genius_labs|allows you to control and monitor the artworks by Evil Genius Labs|N|N|Y|2021.12.0b0|
|evohome|links with all non-US Honeywell Total Connect Comfort (TCC) CH/DHW systems|N|Y|Y|0.80|
|ezviz|ezviz sensor platform uses the EzvizLife API to interact with the devices|N|N|Y|0.107|
|faa_delays|delays at US Airports based on the FAAs National Airspace System Status|N|N|Y|2021.3|
|familyhub|get images of the inside of your Samsung Family Hub refrigerator|N|N|Y|0.70|
|fastdotcom|uses the Fast.com web service to measure network bandwidth performance|N|N|Y|0.88|
|feedreader|an RSS/Atom feed reader that polls feeds every hour|N|N|Y|0.18|
|ffmpeg|allows other Home Assistant integrations to process video and audio streams|Y|Y|Y|0.29|
|fibaro|Fibaro hub is a controller mainly connecting to Z-Wave devices|N|Y|Y|0.83|
|fido|Integrate your Fido account information into Home Assistant|N|N|Y|0.39|
|file|Store notifications as a file|Y|Y|Y||
|file_upload|The file upload integration allows various features in the frontend to upload fi|N|N|Y|2022.9.0b3|
|fints|This only works with banks that support the FinTS (aka. HBCI) standard|N|N|Y|0.70|
|fireservicerota|scheduling and dispatching system for firefighters|N|N|Y|2020.12|
|firmata|Firmata can be used to add digital inputs and outputs to Home Assistant|N|N|Y|0.114|
|fitbit|The Fitbit sensor allows you to expose data from Fitbit to Home Assistant|N|N|Y|0.19|
|fivem|lets you retrieve information from a FiveM server within Home Assistant|N|N|Y|2022.3.0b3|
|fixer|current exchange rate from Fixer.io using data from ECB|N|N|Y|0.23|
|fjaraskupan|Fjäråskupan allows you to control your Bluetooth equipped kitchen fan|N|N|Y|2021.9.0b1|
|fleetgo|integrate your vehicles equipped with FleetGO hardware into Home Assistant|N|N|Y|0.76|
|flexit|Integrates Flexit Air Conditioning unit into Home Assistant|N|N|Y|0.47|
|flic|The flic platform allows you to receive click events from flic smart buttons|N|N|Y|0.35|
|flick_electric|Flick Electric Co is a power company in New Zealand|N|N|Y|0.110|
|flipr|Flipr is a smart pool monitor (Cloud Polling)|N|N|Y|2021.8.0|
|flo|The flo integration integrates Flo by Moen smart water shutoff valves|N|N|Y|0.115|
|flume|monitors the real-time status of your home water meter|N|Y|Y|0.103|
|flunearyou|allows users in the US to get information from Flu Near You|N|Y|Y|0.83|
|flux_led|flux_led support is integrated into Home Assistant as a light platform|N|Y|Y|0.25|
|folder_watcher|publishing events on the bus on the creation/deletion/modification of files|N|N|Y|0.67|
|foobot|fetch air quality data from your Foobot device|N|Y|Y|0.66|
|forecast_solar|Asynchronous Python client for getting forecast solar information|Y|Y|Y|2021.7|
|forked_daapd|allows you to control your forked-daapd server from Home Assistant|N|N|Y|0.110|
|fortios|device tracking of devices with a MAC address connected to a FortiGate|N|Y|Y|0.97|
|foscam|watch the live stream of your Foscam IP camera|N|N|Y|0.7.3|
|freebox|allows you to observe and control Freebox router|N|Y|Y|0.85|
|freedompro|Python library for Freedompro API|N|N|Y|2021.7|
|free_mobile|free_mobile platform is using the French mobile operator Free Mobile to send SMS|N|N|Y|0.11|
|fritz|The fritz platform offers presence detection for Home Assistant|N|Y|Y|0.10|
|fritzbox|Allows you to integrate the switch and climate devices in Home Assistant|N|Y|Y|0.68|
|fritzbox_callmonitor|monitors the call monitor exposed by AVM FRITZ!Box routers on TCP port 1012|N|Y|Y|0.27|
|fritzbox_netmonitor|sensor monitors the network statistics exposed by AVM FRITZ!Box routers|N|Y|Y|0.36|
|fronius|Add (very basic) Support for Fronius Symo JSON Api to Home Assistant|Y|Y|Y|0.96|
|frontier_silicon|Support for Internet Radios based on the Frontier Silicon chipset|N|N|Y|0.40|
|fully_kiosk|Fully Kiosk Browser control in Home Assistant|N|N|Y|2022.9.0b3|
|futurenow|Allows you to use P5 FutureNow relay/dimmer units as lights|N|N|Y|0.75|
|garages_amsterdam|measure the occupancy of Amsterdam parking garages in the Netherlands|N|N|Y|2021.6|
|garmin_connect|The Garmin Connect sensor allows you to expose data from Garmin Connect|N|Y|Y||
|gc100|The Global Caché GC-100 can be integrated into Home Assistant|N|N|Y|0.57|
|gdacs|lets you use a GeoRSS feed provided by GDACS|N|N|Y|0.106|
|generic|The generic camera platform allows you to integrate any IP camera or other URL|N|N|Y||
|geniushub|geniushub integration links Home Assistant with your Genius Hub CH/DHW|N|N|Y|0.92|
|geocaching|The Geocaching integration pulls data from your Geocaching.com account|N|N|Y|2022.6.0b0|
|geonetnz_quakes|Use a GeoJSON feed provided by New Zealands GeoNet in Home Assistant|N|N|Y|0.98|
|geonetnz_volcano|GeoJSON feed provided by New Zealands GeoNet|N|N|Y|0.103|
|geo_json_events|geo_json_events platform lets you integrate GeoJSON feeds|N|N|Y|0.79|
|geo_rss_events|geo_rss_events sensor retrieves events from a GeoRSS feed|N|N|Y|0.55|
|gios|Source for air quality data for Home Assistant|N|Y|Y|0.104|
|github|GitHub sensor integrates data from GitHub to monitor your favorite repositories|Y|Y|Y|0.88|
|gitlab_ci|Sensor platform integrates results reported by CI/CD Pipeline Jobs in GitLab|N|N|Y|0.8|
|gitter|Sensor allows one to monitor a Gitter.im chatroom for unread messages|N|N|Y|0.47|
|glances|Allows you to monitor the system information provided by the Glances API|N|N|Y|0.7.3|
|gntp|Growl Notification Protocol: sending and receiving notifications|N|N|Y|0.16|
|goalfeed|Use your Goalfeed account to trigger events in Home Assistant|N|N|Y|0.63|
|goalzero|Access Goal Zero REST Api from Home Assistant|N|N|Y|0.116|
|gogogate2|Control Gogogate2-Enabled garage doors from Home Assistant|N|Y|Y|0.67|
|goodwe|poll a GoodWe solar inverter over the local network|N|N|Y|2022.2.0b1|
|google|Intergrate Google Calendar into Home Assistant|N|N|Y|0.33|
|google_cloud|allows you to use Google Cloud Platform API|N|N|Y|0.95|
|google_mail|allows you to connect your Google Mail and set an email auto-response|N|N|Y|2023.2.1|
|google_maps|google_maps platform allows you to detect presence|N|N|Y|0.67|
|google_pubsub|Send events to Google Cloud Pub/Sub from Home Assistant|N|N|Y|0.88|
|google_sheets|allows you to connect your Google Drive to Home Assistant|N|N|Y|2022.10.0|
|google_translate|google_translate text-to-speech platform for Home Assistant|N|N|Y|0.35|
|google_travel_time|provides travel time from the Google Distance Matrix API|N|N|Y|0.19|
|govee_ble|Integrates Govee BLE devices into Home Assistant|N|N|Y|2022.8.1|
|gpsd|GPS information collected by gpsd and a GPS receiver|N|N|Y|0.26|
|gree|Discover, connect and control Gree based minisplit systems|N|N|Y|0.117|
|greeneye_monitor|Allows you to create sensors for the various data channels of the GEM|N|Y|Y|0.82|
|greenwave|Communicates with the Greenwave Reality (TCP Connected) Gateway|N|N|Y|0.61|
|growatt_server|Talk to growatt server from Home Assistant|N|Y|Y|0.99|
|gstreamer|Allows you to play audio via a gstreamer pipeline from Home Assistant|N|N|Y|0.39|
|gtfs|gtfs sensor will give you the next departure time|N|N|Y|0.17|
|guardian|Integrates Elexa Guardian water valve controllers into Home Assistant|N|Y|Y|0.111|
|habitica|Allows you to monitor and manage your Habitica profile|N|N|Y|0.78|
|hangouts|Allows you to send messages to Google Hangouts conversations|N|N|Y|0.77|
|hardware|provides an API which offers information about certain board types, USB dongles,|N|N|Y|2022.6.0b0|
|harman_kardon_avr|Allows you to control Harman Kardon Network Receivers|N|Y|Y|0.85|
|harmony|Logitech Harmony support for Home Assistant|N|Y|Y|0.34|
|hdmi_cec|Creates switch entities for HDMI devices in Home Assistant|N|N|Y|0.23|
|heatmiser|Control Heatmiser DT/DT-E/PRT/PRT-E thermostats from Heatmiser|N|N|Y|0.10|
|heos|Controlling HEOS devices through the HEOS CLI Protocol from Home Assistant|N|Y|Y|0.92|
|here_travel_time|here_travel_time sensor provides travel time from the HERE Routing API|N|Y|Y|0.100|
|hikvision|Parses the event stream of a Hikvision IP Camera for Home Assistant|N|N|Y|0.35|
|hikvisioncam|Allows you to control your motion detection settings from Home Assistant|N|N|Y||
|hisense_aehw4a1|Give Wi-Fi connectivity to some Hisense ACs|N|N|Y|0.103|
|hive|Set up and integrate all supported Hive devices in Home Assistant|N|N|Y|0.59|
|hlk_sw16|HLK-SW16 by Hi-Link is a simple networkable 16 port relay device|N|N|Y|0.84|
|homekit|Integrate HomeKit controller and accessory in Home Assistant|Y|Y|Y|0.64|
|homekit_controller|Allows you to connect accessories with the “Works with HomeKit” logo|Y|Y|Y|0.68|
|homematic|An API for the homematicip cloud|N|Y|Y|0.23|
|homematicip_cloud|A python wrapper for the homematicIP REST API (Access Point Based)|N|Y|Y|0.66|
|homewizard|collect data locally from the HomeWizard Energy products|N|N|Y|2022.2.0b1|
|homeworks|Lutron Homeworks Series 4 & 8 systems via RS232|N|N|Y|0.85|
|home_connect|Home Connect standard for Bosch and Siemens|N|N|Y|0.110|
|home_plus_control|allows you to control a range of Legrand in-wall switches and power outlets|N|N|Y|2021.4|
|honeywell|Integrates US-based Honeywell Total Connect Comfort (TCC) climate systems|N|N|Y||
|horizon|Allows you to control a Unitymedia Horizon HD Recorder from Home Assistant|N|N|Y|0.72|
|hp_ilo|Query HP Integrated Lights out XML interfaces from Home Assistant|N|Y|Y|0.27|
|html5|html5 enables you to receive push notifications to Chrome or Firefox|N|N|Y|0.27|
|http|Serves all files and data required for the Home Assistant frontend|Y|Y|Y||
|htu21d|Read the temperature and humidity from a HTU21D sensor (I2C)|N|N|Y|0.48|
|huawei_lte|allows you to observe and control Huawei LTE devices|N|N|Y|0.79|
|hue|talk to Philips Hue|N|Y|Y|0.60|
|huisbaasje|Huisbaasje smart energy meters|N|N|Y|2021.2|
|hunterdouglas_powerview|integrate your Hunter Douglas PowerView devices|N|N|Y|0.15|
|hvv_departures|departures of busses, trains and ferries in Hamburg|N|N|Y|0.112|
|hydrawise|communicate with Hunter Wi-Fi irrigation controllers|N|Y|Y|0.71|
|hyperion|integrate your Hyperion into Home Assistant|Y|N|Y|0.7.6|
|ialarm|A simple library to interface with iAlarm systems, built for Home-Assistant|N|N|Y|2021.5|
|ialarm_xr|Provides connectivity with the Antifurto365 iAlarmXR alarm systems|N|N|Y|2022.6.0b0|
|iammeter|real-time readings of WEM3080, WEM3162 & WEM3080T) meters|N|N|Y|0.107|
|iaqualink|iAqualink by Jandy allows you to control your pool via cloud service|N|Y|Y|0.99|
|ibeacon|Adding iBeacon Tracker to your Home Assistant instance|N|N|Y|2022.10.0|
|icloud|iCloud allows users to track their location on iOS devices|N|N|Y|0.10|
|idteck_prox|This integration works with Proximity Readers (RFID card readers)|N|N|Y|0.85|
|ifttt|With the IFTTT component, you can trigger applets through the “Webhooks” service|N|N|Y|0.8|
|iglo| integrate your iGlo Lights into Home Assistant|N|N|Y|0.61|
|ign_sismologia|a GeoRSS feed provided by the Spanish Instituto Geográfico Nacional|N|N|Y|0.92|
|ihc|use IHC Python SDK|N|Y|Y|0.62|
|image|handle image assets in Home Assistant|N|N|Y|0.115|
|image_upload|handle image assets in Home Assistant|N|Y|Y|2023.1.1|
|imap|observing your IMAP server and reporting the amount of unread emails|N|Y|Y|0.25|
|incomfort|client for Intergas InComfort/InTouch Lan2RF systems|N|Y|Y|0.93|
|influxdb|transfer sensor data to a local InfluxDB database|Y|Y|Y|0.9|
|inkbird|Integrates INKBIRD devices into Home Assistant|N|N|Y|2022.8.1|
|insteon|allowing linked INSTEON devices to be used|N|Y|Y|0.39|
|intellifire|integrate IntelliFire Wi-Fi fireplace modules|N|N|Y|2022.2.0b1|
|intesishome|communications with IntesisHome Smart AC Controllers|N|Y|Y|0.104|
|iota|IOTA is a new blockless distributed ledger|N|N|Y||
|iotawatt|Integration for the IoTaWatt Open WiFi Electricity Monitor|N|N|Y|2021.9.0b6|
|iperf3|iperf3 sensor integration allows you to measure network bandwidth|N|N|Y|0.71|
|ipma|ipma weather platform|N|Y|Y|0.72|
|ipp|read current data from your networked printer|N|Y|Y|0.108|
|iqvia|collects allergy, asthma and disease information (based on a U.S. ZIP code)|N|N|Y|0.63|
|irish_rail_transport|will give you the time until the next two departures|N|N|Y|0.57|
|islamic_prayer_times|integration displays the various prayer times for Muslims as sensors|N|Y|Y|0.85|
|iss|know if the station is above your home location|N|N|Y|0.36|
|isy994|controller that is capable of controlling Insteon and X10 devices|N|N|Y|0.28|
|itach|control IR devices with a Global Caché iTach Device and GC-100 devices|N|N|Y|0.39|
|izone|control of a local iZone ducted reverse-cycle climate control device|N|N|Y|0.100|
|jellyfin|exposes a Jellyfin server as a Media Source in Home Assistant|N|N|Y|2021.12.0b0|
|jewish_calendar|Displays information related to the Jewish Calendar as a variety of sensors|N|Y|Y|0.79|
|joaoapps_join|joaoapps_join integration exposes services from Join|N|Y|Y|0.24|
|juicenet|pulls data from a JuiceNet charging station|N|N|Y|0.47|
|justnimbus|queries the JustNumbus API used by the JustNimbus web dashboard|N|N|Y|2022.9.0b3|
|kaiterra|view the readings from your Laser Egg or Sensedge device|N|N|Y|0.100|
|kaleidescape|The Kaleidescape integration allows automation of Kaleidescape movie player|N|N|Y|2022.4.0b0|
|keba|integrates your Keba charging station (wallbox)|N|N|Y|0.98|
|keenetic_ndms2|presence detection for Keenetic Routers|N|N|Y|0.54|
|kef|KEF wireless speakers|N|Y|Y|0.104|
|kegtron|Integrates Kegtron Smart Keg Monitor (Gen 1) devices into Home Assistant|N|N|Y|2022.10.0|
|keyboard|The keyboard integration simulates key presses on the host machine|N|N|Y||
|keyboard_remote|Receive signals from a keyboard and use it as a remote control|N|N|Y|0.29|
|keymitt_ble|allows you to locally control a MicroBot Push|N|N|Y|2022.10.0|
|kira|main integration to integrate Keene Electronics IR over IP Kira modules|N|N|Y|0.45|
|kiwi|open your KIWI Smart Locks and Smart Entry Devices|N|N|Y|0.72|
|kmtronic|IP-connected relays|N|N|Y|2021.3|
|knx|Asynchronous Library for the KNX protocol|Y|Y|Y|0.24|
|kodi|control a Kodi multimedia system|Y|Y|Y||
|konnected|connect wired sensors and switches to a Konnected Alarm Panel|N|N|Y|0.70|
|kostal_plenticore|allows you to get data from Kostal Plenticore solar inverters|N|N|Y|2021.5|
|kraken|allows you to monitor exchange rates on kraken.com|Y|Y|Y|2021.6|
|kulersky|connects Brightech Kuler Sky floor lamps to Home Assistant|N|N|Y|2020.12|
|kwb|integrates the sensors of KWB Easyfire pellet central heating units |N|N|Y|0.40|
|lacrosse|using the data provided by a Jeelink USB dongle or this Arduino sketch|N|N|Y|0.58|
|lacrosse_view|allows access to LaCrosse sensors|N|N|Y|2022.9.0b3|
|lametric|LaMetric Time smart clock listen to web radio and display notifications|N|N|Y|0.49|
|landisgyr_heat_meter|read the meter values from Ultraheat devices by Landis & Gyr|N|N|Y|2022.9.0b3|
|lastfm|lastfm sensor platform will allow you to see whenever a user starts scrobbling|N|N|Y|0.20|
|launch_library|information about the next planned space launch|N|N|Y|0.83|
|laundrify|Monitor the status of your washing machine or dryer using a laundrify WiFi power|N|N|Y|2022.6.0b0|
|lcn|allows you to connect to LCN hardware devices|N|N|Y|0.85|
|ld2410_ble|Integrates LD2410 BLE sensors from Hi-Link|N|N|Y|2023.2.1|
|led_ble|Integrates multiple brands of Bluetooth Low Energy LED devices into Home Assista|N|N|Y|2022.9.0b3|
|lg_netcast|allows you to control a LG Smart TV running NetCast 3.0|N|N|Y|0.20|
|lg_soundbar|allows you to control LG Soundbars from Home Assistant|N|N|Y|0.81|
|lidarr|The Lidarr integration pulls data from a given Lidarr instance|N|N|Y|2022.10.0|
|life360|detect presence using the unofficial API of Life360|N|N|Y|0.95|
|lifx|The lifx integration allows you to integrate your LIFX into Home Assistant|N|Y|Y|0.81|
|lifx_legacy|The lifx integration allows you to integrate your LIFX into Home Assistant|N|N|Y|None|
|lightwave|WiFi link for controlling Lightwave lights, switches and TRVs|N|N|Y|0.84|
|limitlessled|control your LimitlessLED lights from within Home Assistant|N|N|Y||
|linode|allows you to access the information about your Linode systems|N|Y|Y|0.57|
|linux_battery|sensor platform is using the information stored in /sys/class/power_supply/|N|N|Y|0.28|
|litejet|allows a computer to control the system via LiteJets third party protocol|N|N|Y|0.32|
|litterrobot|Wi-Fi-enabled, automatic, self-cleaning litter box for cats|N|Y|Y|2021.3|
|livisi|connect your LIVISI Smart Home Controller (SHC) to Home Assistant|N|N|Y|2022.12.0|
|local_calendar|create a calendar of events in Home Assistant|Y|Y|Y|2022.12.0|
|logi_circle|integrate your Logi Circle cameras in Home Assistant|N|N|Y|0.79|
|london_underground|display the status of London underground lines|N|N|Y|0.49|
|lookin|Integrates LOOKin devices into Home Assistant|N|N|Y|2021.11.0b4|
|loopenergy|Integrate your Loop Energy meter information into Home Assistant|N|Y|Y||
|luci|fetch connected devices from your OpenWrt|N|Y|Y||
|luftdaten|query the open data API of luftdaten.info to monitor air quality|N|Y|Y|0.82|
|lupusec|Lupusec alarm control panel and ultimately all connected sensors|N|N|Y|0.83|
|lutron|communicating with the Lutron main hub|N|N|Y|0.37|
|lutron_caseta|for communicating with the Lutron Caseta Smart Bridge|N|N|Y|0.41|
|lw12wifi|Library to control the Lagute LW-12 WiFi LED controller|N|N|Y|0.71|
|lyft|Unofficial Lyft Rides API Python SDK|N|N|Y||
|lyric|Honeywell Lyric thermostat platform|N|N|Y|2021.3|
|magicseaweed|Provides API wrapper to magicseaweed.com.|N|N|Y|0.75|
|mailgun|A simple mailgun client - pymailgun fork with Python 3 support|N|N|Y|0.38|
|mariadb|WIP: set dependencies for mariadb-connector-python|Y|Y|Y|2022.6.3|
|marytts|text-to-speech platform uses MaryTTS Text-to-Speech engine|N|N|Y|0.43|
|mastodon|uses Mastodon to deliver notifications from Home Assistant|N|N|Y|0.67|
|matrix|allows you to send messages to matrix rooms|N|N|Y|0.69|
|maxcube|eQ-3 ELV MAX Cube Python API|Y|Y|Y|0.40|
|mazda|Mazda Connected Services integration|N|N|Y|2021.3|
|mcp23017|base for all related mcp23017 platforms in Home Assistant|N|N|Y|0.94|
|meater|communication with the Meater Temperature Probe from Apption Labs|N|N|Y|2022.5.0b0|
|mediaroom|control a Mediaroom Set-Top Box (STB) from Home Assistant|N|N|Y|0.63|
|media_extractor|Gets a stream URL and sends it to a media player entity|N|Y|Y|0.49|
|melcloud|Python MELCloud interface|N|N|Y|0.106|
|melissa|main integration to connect to a Melissa Climate A/C control|N|N|Y|0.63|
|melnor|allows you to control your Melnor Bluetooth watering valves|N|N|Y|2022.9.0b3|
|message_bird|MessageBird's REST API|N|N|Y|0.16|
|met|met platform uses the Met.no web service as a source for meteorological data|N|N|Y|0.79|
|meteoalarm|watch for weather alerts in europe from MeteoAlarm|N|N|Y|0.93|
|meteoclimatic|use Meteoclimatic web service as a source for meteorological data|N|N|Y|2021.6|
|meteo_france|uses the meteorological data from Meteo-France|N|Y|Y|0.89|
|metoffice|weather platform uses the Met Offices DataPoint API|N|N|Y|0.42|
|met_eireann|Met Éireann (The Irish Meteorological Service) Public Weather Forecast API|N|N|Y|2021.5|
|mfi|sensor platform to allow you to monitor mFi mPort interface and sensors|N|Y|Y|0.13|
|mhz19|small non-dispersive infrared sensor that can measure CO2 level|N|N|Y|0.27|
|microsoft|text-to-speech platform uses the TTS engine of the Microsoft Speech Service|N|N|Y|0.57|
|mikrotik|add support for MikroTik RouterOS API|Y|Y|Y|0.44|
|mill|A python3 library to communicate with Mill|N|N|Y|0.81|
|minecraft_server|retrieve information from a Minecraft server|N|N|Y|0.106|
|minio|This integration adds interaction with Minio|N|N|Y|0.98|
|moat|Integrates Moat devices into Home Assistant|N|N|Y|2022.8.1|
|mobile_app|allows Home Assistant mobile apps to easily integrate with Home Assistant|Y|Y|Y|0.89|
|mochad|main integration to integrate all Mochad X10 platforms|N|N|Y|0.32|
|modbus|sensors and switches controlled over MODBUS serial, TCP, and UDP connections|Y|Y|Y||
|modem_callerid|Uses an available modem for collecting caller ID information|N|N|Y|0.40|
|modern_forms|Asynchronous Python client for Modern Forms fans|N|N|Y|2021.7|
|moehlenhoff_alpha2|allows you to control a Möhlenhoff Alpha 2 temperature control system|N|N|Y|2022.3.0b3|
|monoprice|Python API for talking to Monoprice 6-zone amplifier|N|N|Y|0.56|
|mopeka|Integrates Mopeka devices into Home Assistant|N|N|Y|2023.2.1|
|mosquitto|Set a runtime dependency for Mosquitto MQTT broker|Y|Y|Y|2022.8.3|
|motioneye|integrate your motionEye server into Home Assistant|N|N|Y|2021.5|
|motion_blinds|control Motion Blinds from Coulisse B.V.|N|N|Y|2020.12|
|mpd|allows you to control a Music Player Daemon from Home Assistant|N|N|Y||
|mqtt|install MQTT Broker and dependencies|Y|Y|Y||
|msteams|send notifications from Home Assistant to a team channel in Microsoft Teams|N|N|Y|0.101|
|mullvad|Mullvad VPN integration pulls Mullvad VPN status information|N|N|Y|2021.3|
|mutesync|mutesync integration for Home Assistant connects to the mütesync virtual button|N|N|Y|2021.5|
|mvglive|departure times bus, tram, subway, train of Munich public transport network|N|N|Y|0.42|
|mychevy|communicates with the my.chevrolet website using the javascript API|N|N|Y||
|mycroft|allows you to send notifications and more to Mycroft from Home Assistant|N|N|Y|0.53|
|myq|lets you control MyQ-Enabled garage doors|Y|Y|Y|0.39|
|mysensors|combines devices like Arduino, ESP8266, Raspberry Pi, NRF24L01+ and RFM69|Y|N|Y|0.73|
|mysql|set dependencies to install MySQL Libraries for use with HomeAssistant|Y|Y|Y|0.7|
|mystrom|Python API for interacting with myStrom devices|N|N|Y|0.43|
|mythicbeastsdns|automatically update your dynamic DNS entry at Mythic Beasts|N|N|Y|0.85|
|nad|allows you to control a NAD receiver through RS232, TCP and Telnet|N|Y|Y|0.36|
|nam|get temperature, humidity, pressure , air quality from Nettigo devices|N|N|Y|2021.6|
|namecheapdns|automatically update your dynamic DNS entry at namecheapdns|N|N|Y|0.56|
|nanoleaf|allows you to control Nanoleaf Light Panels from Home Assistant|N|N|Y|0.67|
|neato|Python package for controlling Neato pybotvac Connected vacuum robot|N|N|Y|0.33|
|nederlandse_spoorwegen|train service in the Netherlands|N|Y|Y|0.57|
|nello|The nello platform allows you to control Nello intercoms|N|N|Y||
|ness_alarm|integrate a Ness D8x/D16x alarm system|N|N|Y|0.85|
|nest|main integration to integrate all Nest related platforms|N|N|Y|0.7|
|netatmo|Access to Netatmo weather station data|N|Y|Y|0.20|
|netdata|API for interacting with Netdata|N|Y|Y|0.35|
|netgear|detect presence by looking at connected devices to a NETGEAR device|N|N|Y||
|netgear_lte|observe and control NETGEAR LTE modems|N|N|Y|0.72|
|netio|Binding library for Koukaam netio devices|N|N|Y|0.24|
|network|provides network configuration for integrations such as Zeroconf|N|N|Y|2021.6|
|neurio_energy|Integrate your Neurio meter information into Home Assistant|N|N|Y|0.14|
|nexia|allows you to integrate your Nexia thermostats into Home Assistant|N|N|Y|0.108|
|nextbus| will give you the next departure time and associated data fro NextBus|N|N|Y|0.93|
|nextcloud|pulls summary Nextcloud information into Home Assistant|N|N|Y|0.108|
|nextdns|allows you to monitor NextDNS statistics|N|N|Y|2022.8.1|
|nfandroidtv|Notifications for Android TV and Notifications for Fire TV|N|N|Y|0.32|
|nibe_heatpump|control and monitor Nibe Heat Pumps in Home Assistant|N|N|Y|2022.10.0|
|nightscout|allows you to view your CGM data from Nightscout|N|N|Y|0.115|
|niko_home_control|platform allows you to integrate your Niko Home Control|N|N|Y|0.82|
|nilu|An API client for getting pollution data from NILU sensor stations in Norway|N|N|Y|0.87|
|nina|displays warnings from Bundesamt für Bevölkerungsschutz und Katastrophenhilfe|N|N|Y|2022.2.0b1|
|nissan_leaf|integration with the NissanConnect EV cloud service|N|N|Y|0.89|
|nmap_tracker|Presence detection for Home Assistant with nmap|N|N|Y|0.7|
|nmbs|Python wrapper for the iRail API|N|N|Y|0.85|
|noaa_tides|prediction for the tides for any location in the United States|N|N|Y|0.75|
|nobo_hub|Integrates Nobo Ecohub into Home Assistant|N|N|Y|2022.10.0|
|norway_air|A library to communicate with the met.no api|N|N|Y|0.88|
|notify_events|The Notify.Events service is a platform for the notify component|Y|Y|Y|0.112|
|notion|retrieves data from Notion wireless home monitoring sensor kits|N|N|Y|0.96|
|nsw_fuel_station|uses the NSW Fuel Check App data as a source for current fuel price data|N|N|Y|0.72|
|nsw_rural_fire_service_feed|integrate a GeoJSON feed provided by the NSW Rural Fire Service|N|N|Y|0.81|
|nuheat|control your connected NuHeat Signature floor heating thermostats|N|N|Y|0.61|
|nuki|control Nuki Smart Locks|N|Y|Y|0.38|
|numato|base for all related GPIO platforms of the Numato 32 Port USB GPIO expander|N|N|Y|0.110|
|nut|monitor a UPS (battery backup) by using data from a NUT (Network UPS Tools)|N|N|Y|0.34|
|nws|uses the National Weather Service web API|N|Y|Y|0.99|
|nx584|NX584/NX8E Interface Library and Server|N|Y|Y|0.13|
|nzbget|monitor and control your downloads with NZBGet|N|N|Y|0.17|
|oasa_telematics|bus and trolley arrival times for Greek public transport for Athens|N|N|Y|0.92|
|obihai|view the call status for your Obihai devices|N|N|Y|0.99|
|octoprint|The main integration to integrate OctoPrint sensors|Y|Y|Y|0.19|
|oem|ESP8266 based “WiFi MQTT Relay / Thermostat” sold by OpenEnergyMonitor|N|N|Y|0.39|
|ohmconnect| show you the current OhmConnect status for the given OhmConnect ID|N|N|Y|0.26|
|ombi|The Ombi integration monitors data from your Ombi instance|N|N|Y|0.100|
|omnilogic|Hayward Onmilogic pool control system|N|N|Y|0.116|
|oncue|allow you to monitor the state of your Oncue enabled Kohler generator|N|N|Y|2022.2.0b1|
|ondilo_ico|ICO continuously analyzes the water quality of your pool/spa|N|N|Y|2021.2|
|onewire|supports sensors which that using the One wire (1-wire) bus for communication|N|N|Y|0.12|
|onkyo|allows you to control a Onkyo, Integra and some recent Pioneer receivers|N|Y|Y|0.17|
|onvif|allows you to use an ONVIF Profile S conformant device|Y|Y|Y|0.47|
|openai_conversation|adds a conversation agent powered by OpenAI in Home Assistant|N|N|Y|2023.2.1|
|openerz| uses OpenERZ API to access data from Entsorgung und Recycling Zürich (ERZ)|N|N|Y|0.109|
|openevse|an OpenEVSE Charging station equipped with an ESP8266-based Wi-Fi|N|N|Y|0.38|
|opengarage|opengarage cover platform lets you control the open-source OpenGarage.io device|N|Y|Y|0.44|
|openhome| connect an Openhome Compliant Renderer to Home Assistant|N|N|Y|0.39|
|opensensemap|query the open data API of openSenseMap.org air quality sensor station|N|Y|Y|0.85|
|opentherm_gw|control the OpenTherm Gateway from Home Assistant|N|N|Y|0.81|
|openuv|The openuv integration displays UV and Ozone data from openuv.io|N|N|Y|0.76|
|openweathermap|uses OpenWeatherMap as a source for current meteorological data|N|Y|Y|0.32|
|open_meteo|integrates the free weather forecast from Open-Meteo|N|N|Y|2022.2.0b1|
|opnsense|Presence Detection with data from OPNsense firewall|N|Y|Y|0.105|
|opple|allows you to control the state of your Opple smart light|N|N|Y|0.80|
|oralb|Integrates Oral-B devices into Home Assistant|N|N|Y|2022.11.0b3|
|orangepi_gpio|The orangepi_gpio integration is the base for all related GPIO platforms|N|N|Y|0.93|
|oru|fetches your current energy usage from your ORU smart meter|N|N|Y|0.101|
|orvibo|allows you to toggle your (dangerous) Orvibo S20 Wifi Smart Sockets|N|N|Y|0.8|
|osramlightify|allows you to integrate your Osram Lightify into Home Assistant|N|N|Y|0.21|
|otbr|calling an Open Thread Border Routers REST API in Home Assistant|N|N|Y|2023.2.1|
|otp|generates One-Time Passwords according to RFC6238|Y|Y|Y|0.49|
|overkiz|The Overkiz (by Somfy) integration platform|N|N|Y|2022.2.0b1|
|ovo_energy|allows you to monitor your energy consumption data|N|N|Y|0.114|
|owntracks|OwnTracks: track your location and send it directly to Home Assistant|Y|Y|Y|0.7.4|
|ozw|Open Zwave MQTT|M|M|Y|0.110|
|p1_monitor|The P1 Monitor integration integrates the P1 Monitor API platform|N|N|Y|2021.9.0b1|
|panasonic_bluray|allows you to control a Panasonic Blu-Ray player|N|N|Y|0.83|
|panasonic_viera|panasonic_viera platform allows you to control a Panasonic Viera TV|N|Y|Y|0.17|
|pandora|Pandora account, you can control it from Home Assistant with this media player|N|N|Y|0.22|
|pcal9535a|pcal9535a integration is the base for all related pcal9535a platforms|N|N|Y|0.102|
|peco|provides electricity outage data from PECO Philadelphia power company|N|N|Y|2022.4.0b0|
|pencom|Pencom is a computer-controlled relay, I/O and custom boards|N|N|Y|0.85|
|philips_js|allows you to control Philips TVs which expose the jointSPACE JSON-API|N|Y|Y|0.34|
|pi4ioe5v9xxxx|support for the quasi-bidirectional devices pi4ioe5v9xxxx I2C I/O port expander|N|N|Y|0.109|
|picnic|get information from Picnic about orders, deliveries and cart content|N|N|Y|2021.5|
|piglow|control the Piglow lights on your Raspberry Pi from within Home Assistant|N|N|Y|0.37|
|pilight|Pilight is a open source solution to communicate with 433 MHz devices|N|Y|Y|0.26|
|ping|use the great ICMPLib for Presence Detection and as a binary Sensor|Y|Y|Y|0.43|
|pi_hole|retrieve statistics and interact with a Pi-hole system|N|Y|Y|0.28|
|pjlink|control projectors with support for the PJLink protocol from Home Assistant|N|N|Y|0.76|
|plaato|sets up integration with Plaato Airlock and Keg|N|N|Y|0.95|
|plex|Python bindings for the Plex API|Y|Y|Y|0.7.4|
|plugwise|Plugwise_Smile (Anna/Adam/P1/Stretch) API to use in conjunction with Home Assist|N|Y|Y|0.98|
|plum_lightpad|A python package that interacts with the Plum Lightpad|N|N|Y|0.85|
|pocketcasts|monitor unplayed episodes you have of your favorite podcasts at Pocket Casts|N|N|Y|0.39|
|point|Point hub enables integration with the Minut Point|N|N|Y|0.83|
|poolsense|PoolSense is a smart pool monitor|N|Y|Y|0.113|
|powerwall|API for Tesla Powerwall|N|Y|Y|0.108|
|profiler|Help visualize profiling data from cProfile with kcachegrind and qcachegrind|N|N|Y|0.117|
|progettihwsw|brings the automation experience with ProgettiHWSW boards|N|N|Y|0.115|
|proliphix|control Proliphix thermostat from Home Assistant|N|N|Y|0.11|
|prometheus|The prometheus integration exposes metrics in a format which Prometheus can read|N|N|Y|0.49|
|prosegur|Prosegur Smart Alarms (Cloud Polling)|N|N|Y|2021.8.0|
|proxmoxve|poll data from Proxmox VE virtualization environment|N|N|Y|0.103|
|proxy|pass another cameras output through post-processing routines|N|N|Y|0.65|
|prusalink|PrusaLink integration allows you to monitor your Prusa 3D printer|N|N|Y|2022.9.0b3|
|ps4|allows you to control a Sony PlayStation 4 console|Y|Y|Y|0.89|
|pulseaudio_loopback|whole home audio system based upon PulseAudio|N|N|Y|0.16|
|pure_energie|integrates the Pure Energie Monitor device with Home Assistant|N|N|Y|2022.3.0b3|
|purpleair|PurpleAir makes sensors that measure hyper-local air quality data|N|N|Y|2023.1.1|
|pushbullet|sensor platform reads messages from Pushbullet|N|N|Y|0.44|
|pushover|allows integrations to send messages to the user using Pushover|N|N|Y||
|pvoutput|The PVOutput integration|N|N|Y|0.33|
|pvpc_hourly_pricing|hourly price of electricity in Spain from PVPC|N|N|Y|0.108|
|python_script|write Python scripts that are exposed as services in Home Assistant|Y|Y|Y|0.47|
|qbittorrent|monitor your downloads with qBittorrent from within Home Assistant|N|N|Y|0.84|
|qingping|Integrates Qingping devices into Home Assistant|N|N|Y|2022.9.0b3|
|qld_bushfire|GeoRSS feed containing bushfire alerts for Queensland|N|N|Y|0.95|
|qnap|Python API for obtaining QNAP NAS system stats|Y|Y|Y|0.38|
|qnap_qsw|This integration interacts with the local API of QNAP QSW managed switches|N|N|Y|2022.5.0b0|
|qrcode|enables QR code recognition from cameras|N|N|Y|0.87|
|quantum_gateway|device tracker platform for Verizon Fios|N|N|Y|0.81|
|qvr_pro|QVR Pro allows you to connect to cams configured on your QNAP NAS|Y|Y|Y|0.107|
|qwikswitch|the main integration to integrate various QwikSwitch devices with Home Assistant|N|N|Y|0.20|
|rachio|The rachio platform allows you to control your Rachio irrigation system|N|Y|Y|0.73|
|radiotherm|control a thermostat from Radio Thermostat or 3M Filtrete|N|N|Y|0.7.6|
|radio_browser|use the directory of radio stations collected on Radio Browser in Home Assistant|Y|Y|Y|2022.3.0b3|
|rainbird|allows interacting with LNK WiFi module of the Rain Bird Irrigation system|N|Y|Y|0.61|
|raincloud|allows you to integrate your Melnor RainCloud sprinkler system in Home Assistant|N|N|Y|0.55|
|rainforest_eagle|platform for Rainforest Automations Eagle-200 and Legacy Eagle energy gateways|N|N|Y|0.97|
|rainmachine|integrate all platforms related to RainMachine smart Wi-Fi sprinkler controllers|N|Y|Y|0.69|
|raspihats|The base for all related Raspihats platforms in Home Assistant|N|N|Y|0.45|
|raspyrfm|adds support for cheap RC 433 MHz outlets via one of the supported gateways|N|N|Y|0.85|
|rdw|looks up any dutch registered vehicle by its license plate|N|N|Y|2021.12.0b0|
|recollect_waste|track the next scheduled waste pickup and what type of waste from Recollect|N|N|Y|0.87|
|recorder|storing details in a database per sqlalchemy|Y|Y|Y||
|recswitch|allows you to control the Ankuoo REC Switch devices from Home Assistant|N|N|Y|0.81|
|reddit|integrates data from Reddit to monitor your favorite subreddits|N|N|Y|0.89|
|rejseplanen|travel details for Danish public transport|N|Y|Y|0.88|
|remember_the_milk|create tasks in Remember The Milk (RTM) (deprecated)|N|N|Y|0.57|
|remote_rpi_gpio|base for all related GPIO platforms in Home Assistant|N|N|Y|0.94|
|renault|integration with the MyRenault cloud service|N|N|Y|2021.8.0|
|reolink|The integration allows you to control Reolink NVRs or cameras|N|N|Y|2023.1.1|
|repetier|Repetier-Server is a 3D printer/CNC server, able to control multiple devices|N|N|Y|0.94|
|rest|rest sensor platform for data exposed by a RESTful API|Y|Y|Y|0.7.4|
|rflink|The rflink integration supports devices that use RFLink gateway firmware|N|N|Y|0.38|
|rfxtrx|supports RFXtrx 433 MHz devices by RFXCOM|N|N|Y||
|ridwell|allows users to track waste recycling pickups scheduled with Ridwell|N|N|Y|2021.12.0b0|
|ring|integrate your ring.com devices|Y|Y|Y|0.42|
|ripple|The ripple sensor platform displays Ripple wallet balances from Ripple.com|N|N|Y|0.47|
|risco|This integration connects with Risco Alarms over Risco Cloud|N|N|Y|0.115|
|rituals_perfume_genie|monitor your Rituals perfume diffusers|N|N|Y|2021.3|
|rmvtransport|departure time of bus, tram, subway, train in Rhein-Main area public transport|N|N|Y|0.76|
|rocketchat|allows you to send messages to your Rocket.Chat instance from Home Assistant|N|N|Y|0.56|
|roku|add support for Roku players|N|Y|Y|0.86|
|roomba|control a iRobot Roomba vacuum or iRobot Braava m-series mop|N|Y|Y|0.51|
|roon|allows you to control RoonLabs music players|N|Y|Y|0.115|
|route53|keep your AWS Route53 DNS records up to date|N|N|Y|0.81|
|rova|uses an unofficial ROVA API to allow you to get your waste collection schedule|N|N|Y|0.87|
|rpi_gpio|The rpi_gpio integration is the base for all GPIO platforms in Home Assistant|N|N|Y||
|rpi_gpio_pwm|connect pigpio-daemon on an Raspberry Pi|N|N|Y|0.43|
|rpi_pfio|base for all related PiFace Digital I/O (PFIO) platforms in Home Assistant|N|N|Y|0.45|
|rpi_power|monitor your Raspis Power Supply|N|N|Y|0.116|
|rpi_rf|control devices over 433/315MHz LPD/SRD signals on a RPi|N|N|Y|0.19|
|rtsp_to_webrtc|provide WebRTC live streams for any RTSP camera|N|N|Y|2022.2.0b1|
|ruckus_unleashed|Python API to interact with a Ruckus Unleashed device|N|N|Y|0.117|
|russound_rio|control Russound devices that make use of the RIO protocol|N|N|Y|0.49|
|russound_rnet|control Russound devices that make use of the RNET protocol|N|N|Y|0.25|
|ruuvitag_ble|Integrates Ruuvis RuuviTag BLE devices into Home Assistant|N|N|Y|2022.12.0|
|ruuvi_gateway|Integrates Ruuvi Gateway devices as polling BLE remote scanners via the /history|N|N|Y|2023.2.1|
|rympro|connects with a Read Your Meter Pro account to get water meter reads into HA|N|N|Y|2023.2.1|
|sabnzbd|monitor and control your downloads with SABnzbd from within Home Assistant|N|N|Y|0.7|
|saj|poll a SAJ solar inverter and present the values as sensors|N|N|Y|0.100|
|samsungtv|Support for Samsung TV Sets|Y|Y|Y|0.13|
|satel_integra|Satel Integra alarm panel to leverage|N|N|Y|0.54|
|schluter|integrate your Schluter-DITRA-HEAT-E-WiFi electric floor heating thermostat|N|N|Y|0.108|
|scrape|scraping information from websites|Y|Y|Y|0.31|
|screenlogic|allows you to integrate your Pentair IntelliTouch or EasyTouch pool controller|N|N|Y|2021.4|
|scsgate|allows to interact with the MyHome system from BTicino/Legrande|N|N|Y|0.13|
|season|display astronomical or meteorological season (Spring, Summer, Autumn, Winter)|Y|Y|Y|0.53|
|sendgrid|Notification platform sends email notifications via SendGrid|N|N|Y|0.14|
|sense|Integrate your Sense meter information into Home Assistant|N|N|Y|0.82|
|sensehat|lets you control the Sense HAT boards 8x8 RGB LED matrix on your Raspberry Pi|N|N|Y|0.44|
|senseme|Integrates SenseME devices into Home Assistant|N|N|Y|2022.2.0b1|
|sensibo|Integrates Sensibo Air Conditioning controller into Home Assistant|N|N|Y|0.44|
|sensirion_ble|Integrates sensors talking Sensirions BLE protocol into Home Assistant|N|N|Y|2022.12.0|
|sensorpro|Integrates SensorPro devices into Home Assistant|N|N|Y|2022.9.0b3|
|sensorpush|Integrates SensorPush devices into Home Assistant|N|N|Y|2022.8.1|
|sentry|The free Sentry account allows 5000 events per month|N|N|Y|0.104|
|senz|allows you to control and monitor your nVent RAYCHEM SENZ-WIFI thermostats|N|N|Y|2022.5.0b0|
|serial|use data provided by a device connected to the serial port of the system|N|N|Y|0.56|
|serial_pm|Particulate matter sensors measure the amount of very small particles in the air|N|N|Y|0.26|
|sesame|allows you to control your Sesame smart locks made by CANDY HOUSE, Inc.|N|N|Y|0.47|
|seventeentrack|get package data tied to their 17track.net account|N|N|Y|0.83|
|seven_segments|allows you to read physical seven segments displays|N|N|Y|0.45|
|sharkiq|The sharkiq integration allows you to control your Shark IQ vacuum|N|N|Y|0.115|
|shelly|Shelly devices|Y|Y|Y|0.115|
|shiftr|transfer details collected with Home Assistant to Shiftr.io|N|N|Y|0.48|
|shodan|Shodan is a search engine for Internet-connected devices|N|Y|Y|0.51|
|sht31|allows you to get the current temperature and humidity from a Sensirion SHT31|N|N|Y|0.68|
|sia|provides integration with several alarm systems that implement the SIA Protocol|N|N|Y|2021.6|
|sighthound|Detect people in camera images using Sighthound Cloud|N|N|Y|0.105|
|signal_messenger|add Support for Moxie's Signal API|Y|Y|Y|0.104|
|simplepush|deliver notifications from Home Assistant to your Android device|N|N|Y|0.29|
|simplisafe|integrates SimpliSafe home security (V2 and V3) systems|N|Y|Y|0.81|
|sinch|The sinch platform uses Sinch to deliver notifications from Home Assistant|N|N|Y|0.101|
|sisyphus|allows you to observe and control your Sisyphus Kinetic Art Table|N|N|Y|0.75|
|skybeacon|supports CR2477-powered iBeacon/eddystone sensors|N|N|Y|0.37|
|skybell|integrate your Skybell.com doorbells|N|Y|Y|0.56|
|sky_hub|presence detection at connected devices to a Sky Hub router based router|N|N|Y|0.37|
|slack|The slack platform delivers notifications from Home Assistant to Slack|N|N|Y||
|sleepiq|lets you view sensor data from SleepIQ by SleepNumber|N|N|Y|0.29|
|slide|integrate your slide.store devices in Home Assistant using the official API|N|N|Y|0.99|
|slimproto|allows you to control a Squeezebox music player directly from Home Assistant|N|N|Y|2022.5.0b0|
|sma|add Support for SMA Solar WebConnect|N|Y|Y|0.36|
|smappee|integrate Smappee monitors, plugs and switches|N|Y|Y|0.64|
|smarthab|control your lights and shutters with the SmartHab integration|N|Y|Y|0.94|
|smartthings|use the SmartThings Cloud API|N|Y|Y|0.87|
|smarttub| control hot tubs which use the SmartTub system|N|N|Y|2021.3|
|smarty| lets you control Salda Smarty ventilation units from Home Assistant|N|N|Y|0.95|
|smart_meter_texas|allows Texas residents to integrate their electric meters into Home Assistant|N|N|Y|0.115|
|smhi|support for the SMHI.se web service as a source for meteorological data|N|N|Y|0.81|
|sms|allows having a local execution SMS notification via Gammu|N|N|Y|0.105|
|snapcast|The snapcast platform allows you to control Snapcast from Home Assistant|N|N|Y|0.13|
|snmp|Presence Detection, Sensor, Switch via SNMP|Y|Y|Y|0.57|
|snooz|Integrates SNOOZ devices into Home Assistant|N|N|Y|2022.11.0b3|
|socat|Set a flag to install socat and socat-zwave startscript|Y|Y|Y|None|
|solaredge|details from your SolarEdge solar power setup|N|N|Y|0.85|
|solaredge_local|uses the local API available on some SolarEdge Inverters|N|N|Y|0.95|
|solarlog|uses the open JSON interface on Solar-Log PV monitoring systems|N|N|Y|0.101|
|solax|Solax inverter API client|N|Y|Y|0.94|
|soma|integrate their Soma Smarthome devices into Home Assistant|N|N|Y|0.100|
|somfy|Somfy devices via their online service|N|Y|Y|0.95|
|somfy_mylink|an interface to a compatible Somfy MyLink hub utilizing the Synergy API|N|N|Y|0.92|
|sonarr|The Sonarr integration pulls data from a given Sonarr instance|N|N|Y|0.34|
|songpal|control Sonys Songpal (”Audio Control API”) compatible devices|N|N|Y|0.65|
|sonos|Sonos Media Player Support|Y|Y|Y|0.7.3|
|sony_projector|allows you to control the state of SDCP compatible network-connected projectors|N|N|Y|0.89|
|soundtouch|control your Bose Soundtouch speakers from Home Assistant|N|N|Y|0.34|
|spc|integrate your Vanderbilt SPC alarm panel and any connected sensors|N|N|Y|0.47|
|speedtestdotnet|speedtest.net support|Y|Y|Y|0.13|
|spider|integrate all Itho Daalderop Spider related platforms|N|N|Y|0.75|
|splunk|log all state changes to an external Splunk database|N|N|Y|0.13|
|spotify|Spotify media player integration allows you to control Spotify playback|Y|Y|Y|0.43|
|sql|enables you to use an SQL database supported by the sqlalchemy library|Y|Y|Y|0.63|
|squeezebox|library to control Logitech Media Server|N|Y|Y||
|srp_energy|SRP Energy integration hourly energy usage report|N|N|Y|2020.12|
|ssdp|will scan the network for supported devices and services (Upnp)|N|N|Y|0.94|
|ssl|include support for haproxy|Y|Y|Y||
|starline|retrieve data of your StarLine security system from the StarLine portal|N|N|Y|0.103|
|starlingbank|monitor your account balance data as sensors|N|N|Y|0.79|
|startca|Integrate your Start.ca account information into Home Assistant|N|N|Y|0.64|
|statsd|transfer all state changes to an external StatsD instance|N|Y|Y|0.12|
|steamist|monitor the state of your Steamist steam shower|N|N|Y|2022.2.0b1|
|steam_online|allows you to track the online status of public Steam accounts|N|N|Y|0.14|
|stiebel_eltron|integral ventilation or heat pump units of STIEBEL ELTRON|N|N|Y|0.92|
|stookalert|queries the RIVM Stookalert API for unfavorable weather conditions|N|N|Y|0.104|
|stookwijzer|queries the Stookwijzer API for windspeed and gets the air quality index|N|N|Y|2023.2.1|
|stream|provides a way to proxy live streams through Home Assistant|N|N|Y|0.90|
|streamlabswater|interact with StreamLabs water monitoring devices|N|N|Y|0.95|
|subaru|MySubaru connected vehicle services|N|N|Y|2021.3|
|suez_water|consumption of water from the French water provider Tout Sur Mon Eau|N|N|Y|0.97|
|supla|Supla is an Open Source home automation system for ESP8266 based devices|N|N|Y|0.92|
|surepetcare|information on your Sure Petcare Connect Pet or Cat Flap|N|N|Y|0.104|
|swiss_hydrological_data|details (temperature, level, and discharge) of rivers and lakes in Switzerland|N|N|Y|0.22|
|swiss_public_transport|give you the next three SBB departure times from a given location|N|N|Y||
|switchbee|library to control SwitchBee smart home devices|N|N|Y|2022.10.0|
|switchbot|allows you to control SwitchBot devices from Home Assistant|N|N|Y|0.78|
|switcher_kis|allows you to control the Switcher V2 Water Heater|N|N|Y|0.93|
|switchmate|allows you to control Switchmate devices from Home Assistant|N|N|Y|0.78|
|syncthing|allows you to monitor states of your synced folders from Syncthing|N|N|Y|2021.6|
|syncthru|allows you to read current data from your local Samsung printer|N|N|Y|0.66|
|synology_dsm|monitor getting various statistics from your Synology NAS|N|Y|Y|0.32|
|synology_srm|detect presence by looking at connected devices to a Synology SRM router|N|N|Y|0.87|
|systemd|internal and developer use|Y|Y|Y|None|
|systemmonitor|Allows you to monitor disk usage, memory usage, CPU usage, and running processes|Y|Y|Y||
|system_bridge|System Bridge runs on your local machine to share system information via its AP|N|N|Y|2021.6|
|tado|an interface to the my.tado.com website|N|N|Y|0.41|
|tahoma|interface to the tahomalink.com website. It adds covers, scenes and a sun sensor|N|N|Y|0.59|
|tailscale|monitor and automate on the state of the devices in your Tailscale VPN|N|N|Y|2021.12.0b0|
|tankerkoenig|monitor the fuel prices with tankerkoenig.de|Y|Y|Y|0.107|
|tank_utility|Add Tank Utility propane tank monitors to Home Assistant|N|N|Y|0.53|
|tapsaff|provides the Taps Aff status for a given location within the UK|N|N|Y|0.47|
|tasmota|Python module to help parse and construct Tasmota MQTT messages|Y|Y|Y|0.117|
|tautulli|The tautulli sensor platform will monitor activity on a given Tautulli Server|N|N|Y|0.82|
|ted5000|monitors electricity consumption/production by connecting to the TED gateway|N|N|Y|0.30|
|telegram_bot|Use Telegram on your mobile or desktop device to send and receive messages|N|N|Y|0.42|
|tellduslive|cloud platform that connects to your Tellstick|N|Y|Y|0.11|
|tellstick|integrates TellStick devices into Home Assistant|N|N|Y||
|temper|get the current temperature from a TEMPer device|N|N|Y||
|tesla|integration with the Tesla cloud service|N|Y|Y||
|tesla_wall_connector|allows you to integrate your Gen 3 Tesla Wall Connector with Wi-Fi|N|N|Y|2021.12.0b0|
|test|internal and developer use|Y|Y|Y|None|
|tfiac|integrates several vendors air conditioning systems into Home Assistant|N|N|Y|0.91|
|thermobeacon|Integrates ThermoBeacon devices into Home Assistant|N|N|Y|2022.9.0b3|
|thermopro|Integrates ThermoPro devices into Home Assistant|N|N|Y|2022.9.0b3|
|thermoworks_smoke|pulls data for your ThermoWorks Smoke Thermometer|N|N|Y|0.81|
|thingspeak|makes Home Assistant communicate with the ThingSpeak API|N|N|Y|0.32|
|thinkingcleaner|displays information about your Thinking Cleaner add-on|N|N|Y|0.18|
|tibber|a sensor with the current electricity price|N|N|Y|0.8|
|tikteck|Support for the Bluetooth smart bulb from Tikteck|N|N|Y|0.36|
|tile|API for Tile Bluetooth trackers|Y|Y|Y|0.58|
|tilt_ble|Integrates Tilt Hydrometer BLE devices into Home Assistant|N|N|Y|2022.10.0|
|tmb|Library that interacts with TMB API|N|N|Y|0.104|
|todoist|connect to your Todoist Projects and generate binary sensors|N|N|Y|0.54|
|tof|uses an invisible laser to measure distance with millimeter resolution|N|N|Y|0.90|
|tolo|allows you to control your TOLO Sauna and TOLO Steam Bath|N|N|Y|2021.12.0b0|
|tomorrowio|obtain weather, air quality, pollen, and fire information fro tomorrow.io|Y|Y|Y|2022.4.0b0|
|toon|client for the Quby ToonAPI|N|Y|Y|0.56|
|totalconnect|provides connectivity with the Honeywell TotalConnect alarm systems|N|Y|Y|0.42|
|touchline|lets you control ROTH Touchline floor heating thermostats|N|N|Y|0.61|
|tplink|control your TP-Link Smart Home Devices|Y|Y|Y|0.89|
|tplink_lte|allows you to observe and control TP-Link LTE routers|N|N|Y|0.83|
|tplink_omada|allows you to control your TP-Link Omada SDN Devices|N|N|Y|2023.3.0b3|
|traccar|uses GPS for tracking and has support for over 1500 different types of devices|N|N|Y|0.83|
|trackr|trackr platform allows you to detect presence using TrackR devices|N|N|Y||
|tractive|Tractive is an Austrian company develops real-time location trackers for pets|N|N|Y|2021.9.0b1|
|tradfri|Control/observe IKEA Tradfri devices|M|M|Y|0.43|
|trafikverket_ferry|Retrieve ferry departure information from Trafikverket|N|N|Y|2022.5.0b0|
|trafikverket_train|Retrieve train departure information from Trafikverket|N|N|Y|0.96|
|trafikverket_weatherstation|weather information provided by Trafikverket weather stations in Sweden|N|N|Y|0.66|
|transmission|transmission integration allows you to monitor your downloads with Transmission|N|N|Y|0.87|
|transport_nsw|gets next departure from Transport NSW stop for bus, train, light rail or ferry|N|N|Y|0.81|
|travisci|integrate the test build results reported by Travis-CI working|N|N|Y|0.56|
|trend|sensors which show the trend of numeric state orstate_attributes|N|N|Y|0.28|
|tts|Audio metadata tag reader and writer implemented in pure Python|N|Y|Y|0.35|
|tuya|integrate all Tuya Smart related platforms|N|Y|Y|0.74|
|twentemilieu|allows you to track the next scheduled waste pickups by Twente Milieu|N|N|Y|0.97|
|twilio|enables the sending of notifications via SMS and the creation of calls|N|N|Y|0.40|
|twinkly|control Twinkly LED string from Home Assistant|N|N|Y|2020.12|
|twitch|monitor Twitch channel status from within Home Assistant|N|N|Y|0.10|
|twitter|notification platform uses Twitter to deliver notifications from Home Assistant|N|N|Y|0.12|
|ubus|a presence detection scanner for OpenWrt using ubus|N|N|Y|0.7.6|
|ukraine_alarm|uses the Ukraine Alarm web service to offer air-raid siren notifications|N|N|Y|2022.5.3|
|unifi|talk with a Ubiquiti unifi Controller|N|Y|Y|0.81|
|unifiled|control lights from a UniFi LED by Ubiquiti Networks controller|N|N|Y|0.102|
|unifiprotect|Camera feeds and Sensor data from a UniFi Protect application|N|N|Y|2022.2.0b1|
|unifi_direct|detect presence by looking at devices connected to a UniFi AP|N|Y|Y|0.59|
|upb|Library for interacting with UPB PIM|N|N|Y|0.110|
|upcloud|allows you to access the information about your UpCloud servers|N|N|Y|0.65|
|upc_connect|presence detection by looking at a Connect Box|N|N|Y|0.36|
|upnp|support UPnP/Internet Gateway Device (IGD) Protocol|Y|Y|Y|0.18|
|uptimerobot|provides binary sensors from your monitors from Uptime Robot|N|N|Y|0.72|
|usb|USB Discovery integration will watch the host for USB devices|N|N|Y|2021.9|
|uscis|updates on your USCIS case using your case/receipt number|N|N|Y|0.68|
|usgs_earthquakes_feed|a GeoJSON feed provided by the U.S. Geological Survey|N|N|Y|0.84|
|utility_meter|integration provides functionality to track consumptions of various utilities|Y|Y|Y|0.87|
|uvc|allows you to integrate UniFi Video Camera (UVC) into Home Assistant|N|N|Y|0.13|
|vallox|control any Vallox ventilation unit|N|Y|Y|0.96|
|vasttrafik|traveling details for the larger Göteborg area in Sweden from the Västtrafik|N|N|Y|0.30|
|velbus|supports the Velbus USB, serial and TCP/IP gateway|N|Y|Y|0.50|
|velux|allows you to connect to a Velux KLF 200 interface|N|Y|Y|0.49|
|venstar|allows you to control Venstar thermostats from Home Assistant|N|N|Y|0.62|
|vera|add support for Vera Z-Wave Controller|N|Y|Y||
|verisure|Home Assistant has support to integrate your Verisure devices|N|N|Y||
|versasense|The VersaSense integration supports the VersaSense Edge Gateway|N|N|Y|0.103|
|version|display the current Home Assistant versions|Y|Y|Y|0.52|
|vesync|control smart switches and outlets connected to the VeSync App|N|N|Y|0.66|
|vicare|communicate with the Viessmann ViCare API|N|Y|Y|0.99|
|vilfo|integration allows you to observe the state of your Vilfo Router|N|N|Y|0.106|
|vivotek|camera platform allows you to integrate a VIVOTEK IP camera|N|N|Y|0.99|
|vizio|allows you to control SmartCast-compatible TVs|N|Y|Y|0.49|
|vlc|The vlc platform allows you to control VLC media player|N|N|Y|0.35|
|vlc_telnet|Control VLC via it's telnet interface|N|N|Y|0.95|
|volkszaehler|consuming the system information provided by the Volkszaehler API|N|N|Y|0.78|
|volumio|allows you to control a Volumio media player|N|N|Y|0.41|
|volvooncall|offers presence detection as well as sensors such as odometer and fuel leve|N|N|Y|0.39|
|vulcan|The Uonet+ Vulcan integration allows you to view timetable from your e-register|N|N|Y|2022.4.0b0|
|vultr|access information about and interact with your Vultr subscriptions|N|N|Y|0.58|
|w800rf32|supports W800RF32 devices by WGL Designs|N|N|Y|0.83|
|wake_on_lan|enables the ability to send magic packets to Wake on LAN capable devices|Y|Y|Y|0.49|
|wallbox|pulls data from the MyWallbox Portal for your Wallbox charging station|N|N|Y|2021.6|
|waqi|will query World Air Quality Index service|N|Y|Y|0.34|
|waterfurnace|Python interface for waterfurnace geothermal systems|N|N|Y|0.62|
|watson_iot|link Home Assistant with an IBM Watson IoT Platform instance|N|N|Y|0.72|
|watson_tts|text-to-speech platform that works with IBM Watson Cloud|N|N|Y|0.94|
|watttime|Cloud based Climate Trace Service|N|N|Y|2021.10.0b2|
|waze_travel_time|waze_travel_time sensor provides travel time from the Waze|N|Y|Y|0.67|
|webostv|allows you to control a LG webOS Smart TV|N|Y|Y|0.18|
|wemo|discover and control WeMo devices|Y|Y|Y||
|whirlpool|integrates Whirlpool 6th Sense Live appliances|N|N|Y|2021.10.0b2|
|whois|perform daily WHOIS lookups|Y|Y|Y|0.57|
|wiffi|allows you to connect your STALL WIFFI devices directly|N|N|Y|0.110|
|wilight|The wilight integration is to integrate WiLight devices with Home Assistant|N|N|Y|0.115|
|wink|support for Wink Z-Wave Plus Smart Hub|N|Y|Y||
|wirelesstag|integrate your wirelesstag.net sensors tags|N|N|Y|0.68|
|withings|add support for Withings Health API|N|Y|Y|0.99|
|wiz|allows you to control your WiZ lights and smart sockets|N|N|Y|2022.3.0b3|
|wled|add support for Aircookie's WLED|N|Y|Y|0.102|
|wolflink|uses the Wolf Smart-Set for your heating system status|N|N|Y|0.114|
|workday|generating country, province and state specific sets of holidays on the fly|Y|Y|Y|0.41|
|ws66i|Control the Soundavo Whole-Home Audio Amplifier via local network|N|N|Y|2022.6.0b0|
|xbox|A library to authenticate with Windows Live/Xbox Live and use their API|N|N|Y|0.117|
|xbox_live|track Xbox profiles|N|Y|Y|0.28|
|xeoma|Python wrapper for Xeoma web server API|N|N|Y|0.62|
|xiaomi_aqara|allows you to integrate Xiaomi Aqara-compatible devices|N|Y|Y|0.57|
|xiaomi_ble|Integrates devices that implement the Xiaomi Mijia BLE MiBeacon protocol|N|N|Y|2022.8.1|
|xiaomi_miio|add support for Xiaomi smart appliances|N|Y|Y|0.51|
|xiaomi_tv|The xiaomi_tv platform allows you to control a Xiaomi TV|N|Y|Y|0.64|
|xmpp|Python 3 library for XMPP|N|N|Y||
|xs1|get and set values of the EZcontrol XS1 Gateway|N|Y|Y|0.88|
|yalexs_ble|Integrates Yale Access Bluetooth devices into Home Assistant|N|N|Y|2022.9.0b3|
|yale_smart_alarm|Yale Smart Alarm systems and Smart Hub through Yales API|N|N|Y|0.78|
|yamaha|Library for Yamaha RX-* Receivers|Y|Y|Y|0.16|
|yamaha_musiccast|add support for Yamaha MusicCast devices|Y|Y|Y|0.53|
|yandex_transport|will give you the time until the next departure time from a bus/tramway/etc stop|N|N|Y|0.100|
|yeelight|allows you to control your Yeelight Wifi bulbs|N|Y|Y|0.32|
|yeelightsunflower|allows you to control your Yeelight Sunflower light bulbs|N|N|Y|0.39|
|yi|allows you to utilize Yi Home Cameras within Home Assistant|N|Y|Y|0.56|
|yolink|Integrates YoLink Devices into Home Assistant|N|N|Y|2022.6.0b0|
|youless|allows you to read the meter values from sensors created by YouLess|N|N|Y|2021.8.0|
|zabbix|integration to connect to a Zabbix monitoring instance via the Zabbix API|N|N|Y|0.37|
|zamg|meteorological details published by the Austrian weather service|N|N|Y|0.35|
|zengge|Python API for controlling Zengge LED bulbs|N|N|Y|0.36|
|zeroconf|will scan the network for supported devices and services|Y|Y|Y|0.18|
|zerproc|discovers nearby Zerproc lights|N|Y|Y|0.110|
|zestimate|track the Zestimate® value of properties using the Zillow API|N|N|Y|0.65|
|zeversolar|Zeversolar integration using local API|N|N|Y|2023.2.1|
|zha|Support for ZHA/deconz based Zigbee/ZNet Devices|Y|Y|Y|0.44|
|zhong_hong|lets you control Zhonghong HVAC Gateway Controller thermostats|N|Y|Y|0.72|
|ziggo_mediabox_xl|allows you to control a Ziggo Mediabox XL|N|N|Y|0.60|
|zoneminder|Support for ZoneMinder Cameras|N|Y|Y|0.31|
|zwave_js|control a Z-Wave network via the Z-Wave JS driver|Y|Y|Y|2021.2|
|zwave_me|allows you to control a Z-Wave network via the Z-Wave.Me Z-Way|N|N|Y|2022.3.0b3|

670
README.md
View File

@ -1,6 +1,16 @@
# Home Assistant Gentoo Overlay
# Home Assistant for Gentoo
## without Docker & Virtual Environments
[![OS](https://img.shields.io/badge/OS-Gentoo%20Linux-blue)](https://www.gentoo.org/)
[![pkgcheck](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/pkgcheck.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/pkgcheck.yml)
[![shellcheck](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/shellcheck.yml)
[![emerge ha-min](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml)
[![emerge ha-med](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml)
[![weekly commits](https://img.shields.io/github/commit-activity/w/onkelbeh/HomeAssistantRepository)](https://github.com/onkelbeh/HomeAssistantRepository/commits/)
[![monthly commits](https://img.shields.io/github/commit-activity/m/onkelbeh/HomeAssistantRepository)](https://github.com/onkelbeh/HomeAssistantRepository/commits/)
[![version](https://img.shields.io/github/v/release/onkelbeh/HomeAssistantRepository)](https://github.com/onkelbeh/HomeAssistantRepository/releases)
## Home Assistant without Docker & Virtual Environments
https://www.home-assistant.io/
https://github.com/home-assistant/home-assistant
@ -8,64 +18,132 @@ https://github.com/home-assistant/home-assistant
"Open source home automation that puts local control and privacy first."
## Origin: Ireland, Home: Bavaria
Once this was a fork of Paul Healy's `https://cgit.gentoo.org/user/lmiphay.git/tree/app-misc/homeassistant-bin`, which seemed unmaintained to me. First I just wanted to compile it for my personal use. This happed at Home Assistant 0.77 in September 2018. Some friends told me they wanted to use/see it, so I placed it on my public git server, and was caught by surprise of several hundred page views in the very first days. I'll do my best to keep it close to the official releases, might get slower during summers. After 3 months it had ~170 ebuilds, now (Nov 2019) > 1599 ebuilds in > 830 packages are on file, 970 Packes in 2380 Ebuilds in September 2020. As long as I certainly do not count automatically consolidated collections, this Overlay has grown to one of the largest [Gentoo Repos](https://qa-reports.gentoo.org/output/repos/) during the last year.
Once this was a fork of Paul Healy's `https://cgit.gentoo.org/user/lmiphay.git/tree/app-misc/homeassistant-bin`, which seemed unmaintained to me. At first I just wanted to compile it for my personal use. This happened at Home Assistant 0.77 in September 2018. Some friends told me they wanted to use/see it, so I placed it on my public git server, and was caught by surprise by several hundred page views in the very first days. I'll do my best to keep it close to the official releases, though it might get slower during summers. After three months it had ~170 ebuilds, Nov 2019 > 1599 Ebuilds in > 830 packages are on file, 970 packages in 2380 Ebuilds in September 2020. As long as I certainly do not count automatically consolidated collections, this Overlay has grown to one of the largest [Gentoo Repos](https://qa-reports.gentoo.org/output/repos/) during the last year.
If you have questions or suggestions: contact me, **any** help is very welcome. If you want to help or contribute, please [join me](https://git.edevau.net/user/sign_up).
## Reporting Issues
First, please also check if your issue is already reported at [git.edevau.net](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues).
If not, please report it [here](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues) or at [GitHub](https://github.com/onkelbeh/HomeAssistantRepository/issues).
Please let me know if anything is wrong or dependencies are missing, since I use only some of the components myself.
From time to time a fresh compile test on empty boxes (one with Python 3.8 and one with Python 3.7) is run to catch general faults, last good (full) compile test was September 2020 with `v0.115.0`. It was not possible to fix everything, work is in progress, some [open problems](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues) remain.
If you have questions or suggestions: contact me, **any** help is very welcome. If you want to help or contribute, please [join us](https://git.edevau.net/user/sign_up).
## Authors welcome
If you are author of an integration / component or other stuff related to Home Assistant and if I have your stuff not already added, please file a pull request, or just drop me a note. For adding a component, I need a release file in tar.gz or zip format. Tagged releases on Github are OK, but a Pypi `SDIST` tar.gz source release would be preferred, because I can automatically merge it and it will use Gentoo's mirror system. Most of the integrations/components do both. I cannot add packages only available in wheels format. Please make sure you have a proper license assigned, selected license should be unique on all platforms (Pypi/Github/Sourceforge).
If you are an author of an integration / component or other stuff related to Home Assistant and I have your stuff not added already, please file a pull request, or just drop me a note. For adding a component, I need a release file in tar.gz or zip format. Tagged releases on GitHub are OK, but a
PyPI `SDIST` tar.gz source release would be preferred, because I can automatically merge it and it will use Gentoo's mirror system. Most of the integrations/components do both. I cannot add packages only available in wheels format. Please make sure you have a proper license assigned, selected license should be unique on all platforms (
PyPI/GitHub/Sourceforge).
## Python 3.8 Support
Since 0.114.4 (09/2020) everything compiles fine on Python 3.8. Still cleaning up, I did not yet any production test on Python 3.8, but I will very soon. Everything looks good. I am doing most of the tests/work on a box with Python 3.8 only. Before a new release of the app-misc/homeassistant Ebuild is made, I make sure all important components also compile on 3.7.
Currently some help on the nodejs Ebuilds would be very welcome:
* node-red
* zigbee2mqtt
* zwave-js-server (W.I.P, see https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/269)
Today (2020/09/12) I updated my productive box to Python 3.8.5. And, finally, I could Python 2.7 from it. ESPHome still runs on the same box with some small patches (included in my Ebuild), the current `esphome-9999` doesn't even need a `src_prepare()`.
## 2023-03 changed main Ebuild SRC_URI to Pypi
As the current translation files have been removed from the core (https://developers.home-assistant.io/blog/2023/02/06/translations-files-removed-from-core/), I have switched SRC_URI to Pypi, the SDIST there contains all artifacts including the translations. Unfortunately tests are not part of the PyPi SDIST, so currently we have none. I'll try to pull in the tests from the Github Tarball in one of the next Releases.
## ... Python 3.7
You will need at least Python 3.7.7 for running Home assistant on Gentoo Linux. By user request, I have populated an ~arm64 KEYWORD on all ebuilds, which is (currently) completely untested. I know about at least 2 guys using it, but I had no feedback yet. I will some day prepare a cross compile environment to build a public binary repo for Home Assistant on [Sakakis-'s Image](https://github.com/sakaki-/gentoo-on-rpi-64bit).
## 2022-10: reworked all Ebuilds, same KEYWORDS on all Ebuilds
Overdue for long, went through all Ebuilds, removed unused and old versions. All Ebuilds now have default tests turned on, and got Python 3.11 compatibility assigned. Some could not be tested yet on 3.11 (missing external dependencies). Ebuilds now are maintained with `pkgdev` instead of `repoman` and are checked against `pkgcheck` before release. For easier compilation tests and maintainance, all Ebuilds will now have
```
KEYWORDS="amd64 arm arm64 x86"
```
no matter of the platform they are designed to run on, e.g. on a Raspberry Pi. Please choose your modules wisely :-)
## Python 2.7 on Gentoo
I will keep the best last two major versions of all three main Ebuilds and 2-3 versions of the current, when other Ebuilds are touched, their unreferenced versions will be removed.
As soon as 80% have been completed, `dev-python/nose` was deprecated (which was referenced in ALL Ebuilds) :-( 800 more packages to touch...
In August 2020 I discovered that it is now possible to remove Python 2.7 completely. I have done this on all my test servers and my Home Assistant Box. All still work like a charm.
## 2022-07: file collisions with pysnmp
With 2022.7.0, Home Assistant and some components started again using `pysnmplib`, this causes file collisions with `pysnmp`, which is referred by many packages from Gentoo. `pysnmp` uses the same namespace as `pysnmplib`, and should be compatible. To avoid the collisions, add the following packages
```
# Workaround for replacing pysnmp with pysnmplib
dev-python/pysnmp-4.4.12-r2
dev-python/pyasn1-1.1.2
dev-python/pyasn1-modules-0.2.8-r1
dev-python/pysmi-0.3.4
```
to `/etc/portage/profile/package.provided`, so portage assumes you have them installed. Then, run `emerge --depclean -a` to remove them, and install `dev-python/pysnmplib`.
## 2022-03-21: new Testjobs
[![pkgcheck](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/pkgcheck.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/pkgcheck.yml) [![emerge ha-min](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml) [![emerge ha-med](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml)
Thanks to @antonfischl1980 for his [gentoo-ci Image](https://github.com/antonfischl1980/gentoo-ci) and lots of help.
## 2022/02/26: EAPI 8 / pyproject.toml
With homeassistant-2022.3.0, setup.py was removed from core. We had to switch to pyproject.toml. All three main Ebuilds are now using EAPI 8, starting with homeassistant-2022.3.0_beta3.
## 2022/02/12: new frontend builds
The frontend team discontinued offering an SDIST build via Pypi, caused by space limitations there. The source from github only contains the plain source without the build artifacts (from the yarn build), so starting with home-assistant-frontend-20220203.0, we have to build our own. I made some experiments running yarn on the source during install time, but this needs nodejs and yarn on the production boxes, and furthermore, this would eat up a lot of CPU (>25 minutes of build time on bigger hosts). This did not work very well on smaller hosts. I am not an nodejs expert, above all, it seems that yarn does not fit very well into Ebuilds, we would have to allow networking in the sandbox. The (new) Ebuild is changed now to fetch the pre-built yarn/nodejs stuff from my own buildhost. The pre-built frontend is very close to the former SDIST on Pypi, but it does not (yet) include the very newest translations, but we are working on that. Perhaps an 'official' SDIST is available again some day, I'll consider to switch back. Thanks to @cdce8p Marc Mueller for helping to get this done.
## 2020/09/25: Publishing new Main Ebuilds
Since homeassistant-0.115.3 the **Main Ebuild** is released in three different stages of expansion, only *one* of them can be installed. These three only differ in the amount of USE Flags they hold. If you are new here, start with app-misc/homeassistant-min.
### `app-misc/homeassistant-min`
[![emerge ha-min](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml)
These are the USE Flags I use in production myself. All will compile fine and are extensively tested in every release, a daily compilation test is run at Github, big thanks to @antonfischl1980, it currently holds **94** USE Flags.
### `app-misc/homeassistant`
[![emerge ha-med](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml/badge.svg?branch=master)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml)
The Ebuild we have since `0.97.0`, as soon as I know that at least one user is actively using a component, it will be added. These all compile fine, but some version conflicts could occure, a daily compilation test is run at Github, big thanks to @antonfischl1980, It currently holds **290** USE Flags.
### `app-misc/homeassistant-full`
WARNING: This one currently breaks (caused by shell limitations) emerge with an 'Argument list too long' error. It compiles with a [kernel hack](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/190#issuecomment-1002). Thanks to @gcampagnoli.
This Ebuild contains USE Flags for (nearly) all components of Home Assistant with external dependencies. Most components compile, but these are too many (for me) to run tests for all of them on a regular schedule. It holds **904** USE Flags.
A list of all components aka USEFlags is generated with every release [DOMAINTABLE.md](DOMAINTABLE.md)
### Commons for all three Main Ebuilds
Some core dependecies are pulled in from suggested USE Flags `(+)`. You should have a *good reason* to deselect suggested USE Flags. Other components are known to have issues, these are deselected `(-)` in the Ebuilds. Perhaps they compile, perhaps they run. Normally, they have dependencies which interfere with very common libraries. The suggest/deselect prefixes are the same in all three expansion stages.
Best you start using the `app-misc/homeassistant-min` Ebuild. If you have it running and your stuff is added, you should take a look in `/etc/homeassistant/deps`. This directory holds Home Assistants virtual environment. If you find anything there, you can:
1. do nothing and let it live in the virtual environment (not suggested)
2. install the missing dependency with `emerge -tav {dependency}`, remove the contents of `/etc/homeassistant/deps` and restart Home Assistant. If there is still something missing, it will be downloaded and installed again in the virtual enviroment. Things you install this way will be recorded in `/var/lib/portage/world`. These modules will then be maintained and updated by portage.
3. If you get a big `/var/lib/portage/world`, you can choose to use a bigger Ebuild anytime. Remove the old one first.
## Some thoughts
* Be aware that all dependent libraries could be marked as stable here as soon as they compile. Outside HA dependencies except of portage are not tested.
* Since I use Gentoo mostly on servers, I do not use systemd, one reason to run Gentoo is that you are NOT forced to run this crap. Beginning homeassistant-2021.2.0, handling for systemd was added by request, thanks to @Tatsh for help.
* I use an own profile based on "amd64/17.1/no-multilib"
* Sunce 2022.07.06, I run detailed tests on Python 3.10 only, and am starting to try builds on Python 3.11.
* python-3.10.10 is set as default target.
# Bigger Changes
## arm64 builds
By user request, I have populated an ~arm64 KEYWORD on all Ebuilds, which is (currently) completely untested. I know of at least two guys using it, but I got no feedback yet. Some day I will prepare a cross compile environment to build a public binary repo for Home Assistant on [Sakakis-'s Image](https://github.com/sakaki-/gentoo-on-rpi-64bit).
## ~arm
By another request, I merged arm KEYWORD from @ivecera on all Ebuilds at 0.117.6. This guy is running an Odroid XU4. I updated all my scripts to keep it running. arm & arm64 keywords are treated now like the ones for amd64, though absolutely untested.
## Breaking Change: many USE Flags changed in 0.115.0
Beginning with `0.115.0_beta10` many USE Flags have changed.
All USE Flags have *exactly* the same name as the components `domain` in Home Assistant now. OK, this is a hard cut, but overdue. Mostly caused by the creation of an automated import routine, at first I planned to keep the old names, the replacement class was already written, but during data collection I discovered that the original domain names aren't so bad anyway. You will find the detailed changes in commit: https://git.edevau.net/onkelbeh/HomeAssistantRepository/commit/3fec35c803e6061e0186df2af4e914e5791b53cc, scroll down to `metadata.xml`. But `emerge` will also tell.
## Nearly all Home Assistant Components are now included
Except some modules with uncorrectable errors (e.g. hard drive crashes, lost sources) I believe all possible integrations for Home Assistant and their stated dependencies are included as ebuilds, based on the integrations list from `/usr/lib/python3.7/site-packages/homeassistant/components/*/manifest.json`. Many fixed dependencies (necessary or not) to old releases forbid installation of packages requiring newer ones, but I filed all dependencies strict as they have been declared in `setup.py` or `requirements.txt` (sometimes other sources) anyway. The exception proves the rule.
Except of some modules with uncorrectable errors (e.g. hard drive crashes, lost sources) I believe all possible integrations for Home Assistant and their stated dependencies are included as Ebuilds, based on the integrations list from `/usr/lib/python3.8/site-packages/homeassistant/components/*/manifest.json`. Many fixed dependencies (necessary or not) to old releases forbid installation of packages requiring newer ones, but I filed all dependencies strict as they have been declared in `setup.py` or `requirements.txt` (sometimes other sources) anyway. The exception proves the rule.
In some cases I added small patches to the ebuilds, some packages have versions pinned without any reason. For me it's OK, if the packages compile and complete their own tests in the sandbox. Please let me know if you encounter problems. I will continuously expand my tests and do more cleanups.
Currrently missing (2022.4):
* aioazuredevops-1.3.5
* azure-eventhub-5.7.0
* azure-servicebus-0.50.3
* python-lirc-1.2.3
* opencv-python-headless-4.3.0.36
## Why don't we use a virtual environment for Home Assistant
On Gentoo, we have a very powerful package manager. So I (now) try to put everything Home Assistant uses into Ebuilds.
In some cases I had to add patches to the Ebuilds, some packages have versions pinned without any reason. Mostly, I copy hard pinnings without questioning, in very problematic cases I open a ticket at the problem's origin. For me its OK, if the packages compile and complete their own tests in the sandbox. Please let me know if you encounter problems. I will continuously expand my tests and do more cleanups. I am continuously filing pull requests to reduce the amount of needed patches. Most of them are caused by missing files in SDIST archives and/or having wrong package exclude masks in `setup.py`.
Some years ago I started with only those packages Home Assitant needed absolutely to start. Home Assistant then downloads and installs modules it requires and cannot find. After some time, `/etc/homeassitant/deps` grew larger and larger, things messed up, I had a well maintained system, except the directory where a lot of packages (also outdated ones) live without our knowledge.
# Other things you find here
So I started to add more important components as Ebuilds, I did not touch the internal requirement check. If a package is installed via `portage` and Home Assistants constraints match, Home Assitant does not download it's own copy.
You can find the current constraints in:
* https://github.com/home-assistant/core/blob/dev/requirements_all.txt and
* https://github.com/home-assistant/core/blob/dev/homeassistant/package_constraints.txt
You should take a look in `/etc/homeassistant/deps/` from time to time, I do this after every upgrade, if is not empty, install the missing package, emtpy this directory, restart Home Assistant, if it's still downloaded, possibly the wrong (mostly too new) version of a component or a library is installed. `eix`, `/etc/portage/package.accept_keywords` and `--autounmask=y` are your friends. You should not unmask too much, and think about the next releases when you unmask packages.
## Sources Missing, older release tags
Some packages with missing or hidden older releases have been [forked](https://github.com/onkelbeh?tab=repositories) after the originating author has been queried and notified. I did not touch any source, no changes except adding the missing release tags have been made. If patches are needed, these will be applied during the compile process. As soon as another usable release will be available, I'll swap the `SRC_URI` back to Pypi, the original Github or wherever it came from. For every fork in use I have an open ticket at [git.edevau.net](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues). Please drop me a [note](https://github.com/onkelbeh/HomeAssistantRepository/issues) if you find something wrong.
## Other things
Aside from Home Assistant's stuff this repo contains some ebuilds I use with my Home Assistant, some have to be explicitly mentioned:
Aside from Home Assistant's stuff this repo contains some Ebuilds I use with my Home Assistant, some have to be explicitly mentioned:
## ESPHome
Thanks to @OttoWinter for his fabulous idea and [great work](https://github.com/esphome/esphome), really cool stuff, as soon as your name server accepts dynamic names from DHCP, a lot of ESP devices are very easy to deploy. Its integration in Home Assistant is easy and reacts fast on state changes. I love its Integration in Home Assistant, you have one single point where you define and name a switch or a sensor (instead of > three points using MQTT). Together with the possibility of OTA updates my sensors now have a unique name everywhere in the system, and names can be changed very easily. I have the dashboard installed in HA's Gui, so updates and changes are made with a few clicks. In the meantime I migrated all my Magichome Controllers, very happy with it, and I have a couple of binary input arrays running with it without any problems. However, my Sonoff POW and POW R2 are still running with various versions of Tasmota. Some [required libraries](https://github.com/esphome/feature-requests/issues/586) are too old for Home Assistants environment, and I do NOT use virtual environments, so I simply patched it, it runs on my productive system without any problems. Please report any problems. You can also use the dev ebuild (`dev-embedded/esphome-9999.ebuild`), this uses newer libraries, but will be compiled every time you run a world update, it is also very stable most of the time.
Thanks to @OttoWinter for his fabulous idea and [great work](https://github.com/esphome/esphome), really cool stuff, as soon as your name server accepts dynamic names from DHCP, a lot of ESP devices are very easy to deploy and maintain. Its integration in Home Assistant is easy and reacts fast on state changes. I love its integration in Home Assistant, since you have one single point where you define and name a switch or a sensor (instead of > three points using MQTT). Together with the possibility of OTA updates my sensors now have a unique name everywhere in the system, and names can be changed very easily. I installed the dashboard in HA's Gui, so updates and changes are made with a few clicks. In the meantime I migrated all my Magichome Controllers, very happy with it, and I have a couple of binary input arrays running with it without any problems. However, my Sonoff POW and POW R2 are still running with various versions of Tasmota. Some [required libraries](https://github.com/esphome/feature-requests/issues/586) are too old for Home Assistants environment, and I do NOT use virtual environments, so I simply patched it, it runs on my productive system without any problems, please report if you find any. You can also use the dev Ebuild (`dev-embedded/esphome-9999.ebuild`), which uses newer libraries, but will be compiled every time you run a world update, it is also very stable most of the time.
## Platformio
Platformio is needed for ESPHome and other stuff.
# Install & Upgrade
## Git Server & Mirrors
You will find this Repository at
@ -74,43 +152,78 @@ You will find this Repository at
| Main | https://git.edevau.net/onkelbeh/HomeAssistantRepository | https://git.edevau.net/onkelbeh/HomeAssistantRepository.git |
| Mirror | https://github.com/onkelbeh/HomeAssistantRepository | https://github.com/onkelbeh/HomeAssistantRepository.git |
Sorry, due to technical reasons, I currently cannot offer ssh access to my git server.
Sorry, due to technical reasons, I currently cannot offer public ssh access to my git server.
Sure, you can submit **issues** and **pull requests** on both sites, but I prefer them on my own server (requires registration).
## Installation on Python 3.7 or Python 3.8
Since Python 3.7 is default target since 05/2020, installation is very easy now.
## Python versions
### Python 3.10
My production box currently runs Python 3.10.8 (31.10.2022). All modules are OK with 3.10 support.
But, **before** installing on 3.7, please think about using 3.8, this will save you the migration from 3.7 -> 3.8. And, as my first test show, you will notice a slight improvement in performance. For using 3.8, simply increase all version numbers in the manual below by 1.
### Python 3.11
3.11 support will be added if possible whenever a module is touched, most already work, some external deps are still mising.
### Python <= 3.9 Support
Should still work, but since Python 3.8 support is dropped, I will do no further tests on it, you should upgrade now.
Python 3.9 support will also be dropped soon.
## Installation on Python 3.10
### Let's get started:
First add the Overlay:
#### manual
Create `/etc/portage/repos.conf/homeassistant.conf`, make sure not to interfere with your main Gentoo repo, which recently moved to `/var/db/repos/gentoo` in my boxes. See [Migrating to new repository data locations](https://wiki.gentoo.org/wiki/User:Sam/Portage_help/Migrating_to_new_repository_data_locations) for additional information.
Example:
First add the Overlay to `/etc/portage/repos.conf/homeassistant.conf`, make sure **not to interfere** with your main Gentoo repo, which is at `/usr/portage/gentoo` in my boxes, because I _always_ have more than one repo active by default. others use `/usr/local/portage/homeassistant`
```
[HomeAssistantRepository]
location = /usr/portage/homeassistant
location = /var/db/repos/homeassistant
sync-type = git
sync-uri = https://git.edevau.net/onkelbeh/HomeAssistantRepository.git
auto-sync = yes
sync-rsync-verify-metamanifest = no
```
Sync it:
#### Layman
``` sh
layman -a HomeAssistantRepository
```
#### eselect-repository
``` sh
eselect repository enable HomeAssistantRepository
```
### Installation:
Sync the overlay:
```sh
$ emerge --sync
```
Make sure you have a proper locale setting. I use
```sh
$ cat /etc/locale.gen
de_DE ISO-8859-1
de_DE@euro UTF-8
```
It will make things easier if you take the example files from `/etc/portage/package.accept_keywords/99_homeassistant` and `/etc/portage/package.use/60_homeassistant` and copy it to your `/etc/portage`.
Check your `/etc/portage/make.conf` for the corret Python Targets:
If you change your locales, run `locale-gen`.
It will make things easier if you take the example files from `/etc/portage/package.accept_keywords/99_homeassistant` and `/etc/portage/package.use/60_homeassistant` and copy it to your `/etc/portage`. The clean way is to let `portage` build your own.
Check your `/etc/portage/make.conf` to freeze correct Python Targets:
```sh
USE_PYTHON="3.7"
PYTHON_TARGETS="python3_7"
PYTHON_SINGLE_TARGET="python3_7"
USE_PYTHON="3.10"
PYTHON_TARGETS="python3_10"
PYTHON_SINGLE_TARGET="python3_10"
```
Run `eselect python` to put Python 3.7 on position 1
Edit `/etc/python-exec/python-exec.conf` to put Python 3.10 on top position.
Finally install Home Assistant:
```sh
@ -118,20 +231,23 @@ $ emerge -tav app-misc/homeassistant
$ rc-update add homeassistant
```
I could be necessary to install some components by hand, there are too many components to mask all in use flags. If you use a component which you want to be added as a use flag, send a pull request, or just let me know.
Done.
## Upgrading to Python 3.8 from a pre 3.8 system
Same as it was from Python 3.6 to 3.7.
## Upgrading to Python 3.10 from a 3.9 system (same as it was from Python 3.6 to 3.7, and 3.7 to 3.8, and 3.8 to 3.9).
### The fastest way:
* Throw away app-misc/homeassistant
* Remove app-misc/homeassistant (emerge -cav)
* if you are using esphome, remove it, too.
* run `emerge --depclean -a`, this will remove all dependent packages
* update your naked core system as described below
* reinstall app-misc/homeassistant with only the new Python Version
* update your naked core system as described below, or just run a
```sh
$ emerge -tauvDUN @world --autounmask=y --changed-deps --changed-use --newuse --deep --with-bdeps=y
```
This avoids a lot of recompiling all Home Assistant deps, and a lot of dependency trouble. Very recommended. I did not, but I just wanted to see if it works ;-)
* reinstall app-misc/homeassistant for only the new Python Version
This avoids a lot of recompiling all Home Assistant deps, and a lot of dependency trouble. A naked box is significant easier to upgrade, Very recommended. I did not, but I just wanted to see if the hard way still works, too ;-)
### The upgrade steps:
@ -139,18 +255,18 @@ Make sure your system is up to date:
```sh
$ emerge -tauvDUN @world
```
Install Python 3.8:
Install Python 3.10:
```sh
$ emerge -tav dev-lang/python:3.8
$ emerge -tav dev-lang/python:3.10
```
Edit your `/etc/portage/make.conf` to set the new Python Targets, make sure you have now **both** versions active:
Edit your `/etc/portage/make.conf` to set the new Python Targets, make sure you have **both** versions active now:
```sh
USE_PYTHON="3.8 3.7"
PYTHON_TARGETS="python3_8 python3_7"
PYTHON_SINGLE_TARGET="python3_8"
USE_PYTHON="3.10 3.9"
PYTHON_TARGETS="python3_10 python3_9"
PYTHON_SINGLE_TARGET="python3_10"
```
Run `eselect python` to put Python 3.8 on position 1, perhaps you have to edit `/etc/python-exec/python-exec.conf`.
Run `eselect python` to put Python 3.10 on position 1, perhaps you'll have to edit `/etc/python-exec/python-exec.conf`.
Run the Update:
```sh
@ -158,31 +274,29 @@ $ emerge --depclean
$ emerge -1vUD @world
$ emerge --depclean
```
If everthing is clean, double check with:
If everything is clean, double check with:
* `eix --installed-with-use python_targets_python3_7` (<- old version)
* `eix --installed-without-use python_targets_python3_8` (<- new version)
* `eix --installed-with-use python_targets_python3_9` (<- old version)
* `eix --installed-without-use python_targets_python3_10` (<- new version)
or
* `diff <(equery h python_targets_python3_7) <(equery h python_targets_python3_8)`
* `diff <(equery h python_single_target_python3_7) <(equery h python_single_target_python3_8)`
* `diff <(equery h python_targets_python3_9) <(equery h python_targets_python3_10)`
* `diff <(equery h python_single_target_python3_9) <(equery h python_single_target_python3_10)`
Help it with:
```sh
eix -I# --installed-without-use python_targets_python3_8 | xargs emerge -1tv
eix -I# --installed-without-use python_targets_python3_10 | xargs emerge -1tv
```
### Now you have all Python packages for both versions installed
Time to get rid of the packages compiled for the old Python:
Now you have all Python packages for both versions installed, time to get rid of the packages compiled for the old Python:
Edit your `/etc/portage/make.conf` to remove old Python Targets:
```sh
USE_PYTHON="3.8"
PYTHON_TARGETS="python3_8"
PYTHON_SINGLE_TARGET="python3_8"
USE_PYTHON="3.10"
PYTHON_TARGETS="python3_10"
PYTHON_SINGLE_TARGET="python3_10"
```
Run the Update again:
@ -192,141 +306,323 @@ Run the Update again:
# emerge --depclean
```
Sometimes I had dependencies `portage` didn't respect, in some cases it seems not to know in which Python's site-packages modules are already installed. Install them manually (after compile errors). Once all packages are updated, you can remove the older python targets in `package.use` and run another upgrade to remove now obsolete support for Python 3.7. This will save hard disk space and compile time.
It does not make sense to compile all this stuff **for more than one** python.
It does not make sense to compile all this stuff for more than **one** Python target.
Check if all is gone:
```sh
# eix --installed-with-use python_targets_python3_7
# eix --installed-with-use python_targets_python3_9
```
Recompile all packages which are still present in the old Python.
Recompile all packages which are still present in the old Python. Repeat until all have vanished.
On some boxes I had to recompile python-exec before a depclean removed the old Python:
```sh
# emerge -1tv dev-lang/python-exec --usepkg-exclude=*
```
### Remove the old Python
```sh
# emerge -cav /dev-lang/python:3.7
# emerge -cav /dev-lang/python:3.9
```
### Tools that might help to clean up:
```sh
$ eix --installed-with-use python_targets_python3_7
$ diff <(equery h python_targets_python3_7) <(equery h python_targets_python3_8)
$ eix --installed-with-use python_targets_python3_9
$ diff <(equery h python_targets_python3_9) <(equery h python_targets_python3_10)
```
## Todos
- If it moves, compile it :-)
- Map more, perhaps all important components to use flags
- Publish my Home Assistant Configuration
- Publish my ESPHome Configurations
- Add test support for Python 3.8 and 3.9 in new dev branches
- Add libraries if I need it or someone asks for
- Create a better mechanism to check [requirements_all.txt](https://raw.githubusercontent.com/home-assistant/home-assistant/dev/requirements_all.txt) against this repo. A very early version of it was used to create the `v9999` dev ebuild with nearly all components framed into USE flags. Someone blame me for 800 use flags ;-)
- Write an real good installation page for the home-assistant.io Documentation an get it added there.
- Convince more people to not run Home Assistant with Docker (see https://xkcd.com/1988/)
# My VMs/boxes and Stuff I use
## Experiments in progress:
* grafana with influxdb, will have to use it at work soon and have to get used to it anyway, fits much better for irregular measurements than Cacti/RRD.
* remote IOS authentication with [haproxy](https://www.haproxy.org) and client certificates.
* play with [Node-RED](https://nodered.org/), there are users requests for it, but my skills are to low for this Ebuild :-)
## My environment
I run Home Assistant on a virtual X64 box, 4GB RAM, 3 Cores of an older Xeon E5-2630 v2 @ 2.60GHz and 30GB Disk from a small FC SAN (HP MSA). Recorder writes to a local mariadb socket, moved this from my 'big' mariadb machine because of some performance issues. Influxdb and Graphana are also on the same box. I cannot imagine how someone can run this stuff an a Raspberry Pi.
## some Background...
I have Home Assistant running on a virtual X64 box, 4GB RAM, 3 Cores of an older Xeon E5-2630 v2 @ 2.60GHz and 30GB Disk from a small FC SAN (HP MSA). Recorder writes to a local mariadb socket, moved this from my 'big' mariadb machine because of some performance issues. currently 10.2.29 without problems. Influxdb and Graphana are also on the same box. Find a list of the integrations I use myself on my production box [here](https://github.com/onkelbeh/HomeAssistantRepository/blob/master/etc/portage/package.use/60_homeassistant).
## My machines
Currently I have three VM's running:
### Production
Python 3.10.10_p3
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
### Dev / Test
Python 3.10.10_p3 / 3.11.2_p2
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
### Dev / Test2
Python 3.10.10_p3 / 3.11.2_p2
4 GB RAM, 3 cores of a Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
Some of my devices are connected via Eclipse Mosquitto (https://mosquitto.org/), I use the stable version coming with the original distribution (1.6.8), no SSL inside my isolated IOT Vlan, so no need to upgrade. Along MQTT I am actively using (and therefore testing) the following platforms/components:
* some (~9) Z-Wave devices, mostly Fibaro Roller Shutter 3 with a ZMEEUZB1 Stick connected to my VM with ser2net, socat & OpenZWave. I would not buy the Fibaro stuff again, because of their weird firmware policy. You need to have their expensive gateway to make an update. The cheap chinese stuff would do it better.
- in the vm run `socat pty,link=/dev/ttyUSB0,raw,user=homeassistant,group=dialout,mode=777 tcp:[ip of usbhost]:3333`
- at the usb host run `ser2net` with `3333:raw:0:/dev/ttyACM0:115200 8DATABITS NONE 1STOPBIT`
* some Zigbee devices from Xioami, via an CC2531 USB stick from Amazon -> `zigbee2mqtt`
* a bunch of OneWire and I2C Sensors (mostly via ESPHome and MQTT) and
* ESPHome - see description above - (https://esphome.io/ & https://github.com/esphome/esphome/)
* ESPEasy (https://www.letscontrolit.com/wiki/index.php/ESPEasy/). I formerly used it to avoid some serious design problems in Tasmota, but since I use ESPHome, these devices live only until they have to be touched for some reason, their firmware will get replaced with ESPHome.
* Sonoff/Tasmota (mostly via MQTT) (https://github.com/arendst/Sonoff-Tasmota), same here: as soon a device has to be touched, it's firmware will be replaced with Otto Winter's ESPHome.
* Sonoff S20
* Sonoff 4ch
* Sonoff Dual
* Sonoff RF Bridge with remote Switches
* Sonoff Touch
* Sonoff Basic (Wifi not working well with EPHome or Tasmota in newer versions)
* Sonoff Pow R2
The Sonoff Pow (and R2) will stay with Tasmota for a while, because I have no good implementation of Tasmota's energy summary in ESPHome.
* Experimenting with Shelly Devices, a friend has some Shelly 1/2, bought a Pro, but this one has a Chip form TI, no ESP, so we'll have to use the original Firmware.
## Hardware I use
Here's a rough overview about the stuff I use, sorted by USEFlags:
### androidtv
Get the Status from my Amazon Fire-TV and turn it on in a scene.
### axis
Axis Camera (1, a few more to come), i do not use this integration anymore, it had a problem with my old cam's, migrated it to qvr_pro.
### caldav
Calendar (connected to a locally run ownCloud, OC not in this Repository) (https://owncloud.org/), use it for a very intelligent Alarmclock and to control heating on home office days.
### cli
### compensation
### coronavirus
### darksky
since yr.no weather was removed by YR's request in early 2021, I use darksky.
### dwd_weather_warnings
currently not working....
### enigma2
Enigma2 on Dreambox (2 left) (https://wiki.blue-panel.com/index.php/Enigma2). Be careful about their standby power consumtion, these 800SE2 eat up 45W during standby.
### esphome
ESPHome - see description above - (https://esphome.io/ & https://github.com/esphome/esphome/)
* Now all of my HC-SR501 PIR Sensors and some of my traditional light switches are connected to two big input arrays I built into old CAT6 patch panels with an ESP12 and 4 PCF8574 I2C I/O Expanders, this makes 24 I/O lines per panel. All these panels run ESPHome.
* Yamaha RXV (4 devices)
* SamsungTV (partly _not_ working anymore due to Samsung's newest firmware 'improvements', at least I can read it's status for controlling lights & the shutters)
* Some Tradfri lights
* 4 IKEA Shutters, finally they can now be bought. A bit expensive, but nice and easy to install.
* Sonos (had many, sold most of them, because they destroyed a formerly very cool Gui, only two boxes left)
* Calendar (connected to a locally run ownCloud, OC not in this Repository) (https://owncloud.org/)
* Kodi on Raspberry (3, all with OSMC) (https://osmc.tv/download/)
* Enigma2 on Dreambox (2 left) (https://wiki.blue-panel.com/index.php/Enigma2)
* Hyperion with APA102 (very cool stuff) (https://hyperion-project.org/)
* EQ3-Max! (I accidently bought some, so I have to use them until they die, 8 devices and a cube). Currently the integration `maxcube-api` is broken, added a hack to keep them running, just add `maxcube_hack` use flag to home assistant, then the patch will be applied before installation. Recently I saw some other interesting soft for this hardware. Perhaps I'll try one of these, and forget about `maxcube-api`.
* Axis Camera (1, a few more to come)
* yr.no weather (best reliable forecast you can get for low money) (https://www.yr.no/)
* OneWire and I2C Sensors
* Sonoff S20
* Sonoff 4ch
* Sonoff Dual
* Sonoff RF Bridge with remote Switches
* Sonoff Touch
As soon as a device with an esp inside gets touched, it will be migrated to ESPHome.
### forecast_solar
a forecast of today's solar production, only have a free account, but it is very useful.
### fronius
query my Fronius solar inverters via their integrated wifi chip.
### github
### http
### hyperion
Hyperion (aka hyperion.ng) with APA102 (very cool stuff) (https://hyperion-project.org/)
I am now stuck at Kodi 18.9 but that's worth it.
### influxdb
storing the temperatures from the DS18B20 (heating system & room temps).
### kia_uvo
Retrieves Data from Hyundai Cloud Service.
### KNX
I used a couple of chinese relay cards controlled with PCF8574 I2C extenders attached to an ESP32 with ESPHome. Caused by capacitive load (mostly chinese LED stuff), some EMV trouble on the I2C bus led me to bury this efforts, took some money and ordered a bunch of KNX actors from MDT. I decided that it would be nice to have current measurement, so I took the "MDT AMI-1216.02 Schaltaktor 12fach 16/20A C-Last Industrie mit Strommessung", the MDT SCN-IP000.03 IP Interface and the matching MDT STV-0320.02 320 mA power supply for a first start. And I added an MDT BE-04230.02 binary input array with 4 220V inputs (which was too small after a few days). I am very happy with it. After finishing the big click in ETS, the replacement only took a few hours.
I am now running the following components, all from MDT:
* MDT SCN-IP000.03 IP Interface
* MDT STV-0320.02 bus power supply 320mA
* MDT BE-04230.02 binary input 4x REG 230VAC
* MDT BE-16230.02 binary input 16x REG 230VAC
* MDT AMI-1216.02 switch 12x 16/20A C-Last Industrie with current measurement (4x)
* MDT AKS-1210.03 switch 12x 10A C-Last (to turn off some unused stuff during the night)
Integration in Home Assistant was very easy, everything worked as expected from the first attempt. Everything up and perfectly running after ~1 week.
### kodi
Kodi on Raspberry (3, all with OSMC) (https://osmc.tv/download/), very happy with it.
Currently I am stuck at Kodi 18.9, because hyperion-ng does not work with Kodi 19 yet.
### kraken
### maxcube
EQ3-Max! (I accidently bought some, so I have to use them until they die, 8 devices and a cube). When a thermostat dies, it gets replaced with a devolo z-wave model.
### mikrotik
presence detection, query the connected mac addresses from the CAP AC.
### modbus
* Eastron SDM630 Powermeters
* Waveshare RS485 to ETH (B) Gateway
### mqtt (also Zigbee)
The Sonoff Pow (and R2) will stay with Tasmota for a while, because I have no good implementation of Tasmota's energy summary in ESPHome. I have connectd these via MQTT.
Some Zigbee devices via an CC2531 USB stick from Amazon and `zigbee2mqtt`. Since zigbee2mqtt, a lot of new devices are here now:
* some Xioami motion sensors (Aquara)
* an Aquara environment sensor
* lots of Sonoff's window Sensors
* all the IKEA stuff (4 shutters, some lighting and all the buttons that came with them)
### mysql
using a local mariadb for the recorder.
### openwbmqtt
Use the version from https://github.com/ChristophCaina/openwbmqtt, which has some enhancements and has renamed NumberEntities (https://community.home-assistant.io/t/depricated-numberentity-features/440282).
* OpenWB series2 (custom), no display, 11kW, Type-B FI, Addon, no phase switch (Kona)
### otp
### owntracks
have installed owntracks on ours Iphones, so HA knows when I leave work and if anybody is home.
### ping
### qnap
### qvr_pro
### recorder
### rest
### samsungtv
SamsungTV (partly _not_ working anymore due to Samsung's newest firmware 'improvements', at least I can read its status for controlling lights & the shutters)
### season
### shelly
Experimenting with Shelly Devices, a friend has some Shelly 1/2, bought a Pro, but this one has a Chip from TI, no ESP, so we'll have to use the original Firmware, connected to MQTT.
Due to the fact that Fibaro's shutter controllers do not work very well, I now have a couple of Shelly 2.5 to control the shutters. These work good, looks like a 'install & forget' thing.
### signal_messenger
### snmp
### sonos
Sonos (had many, sold most of them, because they destroyed a formerly very cool Gui, only two boxes left)
### sql
Recorder writes to a local mariadb socket, moved this from my 'big' mariadb machine because of some performance issues. The socket seems much faster then the network link, especially on big operations, e.g. opening the history tab. It takes approx. 10 seconds to pull a complete week with ~1200 entities (if it doesn't freeze the browser), a single day opens in ~2 seconds.
### ssl
### tasmota
except some Sonoff Pow R2 all former Tasmota stuff was migrated to ESPHome. I had not yet the time to transfer the power statistics.
### test
### tradfri
Some Tradfri lights, and 4 IKEA Shutters. A bit expensive, but nice and easy to install. I do not use the Gateway anymore, the integration caused problems from time to time. I have all IKEA devices connected via zigbee2mqtt.
### version
### whois
### workday
### yamaha
### yamaha_musiccast
Yamaha RXV (4 devices)
### zwave
had a ZMEEUZB1 Stick connected to my VM with ser2net, socat & OpenZWave. Migrated it to zwavejs2mqtt.
### zwave_js
Migration to `zwave_js` was easier than expected, after finding the right module. I now use zwavejs2mqtt. Had some issues with MEEUZB1, so I had to get the TI interface. I came along with another stick, so I now have a spare to do some experiments with. I'll try to put this in an ebuild. Though, installation it quite easy:
```bash
cd /opt
git clone https://github.com/zwave-js/zwavejs2mqtt
cd zwavejs2mqtt
yarn install
yarn run build
yarn start
```
Currently I have no autostart, I just let it run in a screen session.
It does not run in my HA VM, I have a HPE mircoserver, where the stick is directly attached. It communicates with HA through it's API, MQTT is disabled.
### Z-Wave in general
Have some Fibaro shutter controllers and (currently) 2 devolo thermostats. I would not buy the Fibaro stuff again, because of their weird firmware policy. You need to have their expensive (and otherwise useless) gateway to make an update. The cheap chinese stuff will do better. And the Fibraos are very badly shielded. The last two shutters I installed are now connected to Shelly-2.5, these are cheaper and work as they should.
# Some background
## Why I don't (want to) use a virtual environment for Home Assistant
On Gentoo, we have a very powerful package manager. So I (now) try to put everything Home Assistant uses into Ebuilds.
Some years ago I started with only those packages Home Assistant needed absolutely to start. Home Assistant then downloads and installs modules it requires and cannot find. After some time, `/etc/homeassitant/deps` grew larger and larger, things messed up, I had a well-maintained system, except the directory where a lot of packages (also outdated ones) live without our knowledge.
So I started to add more important components as Ebuilds, I did not touch the internal requirement check. If a package is installed via `portage` and Home Assistants constraints match, Home Assistant does not download its own copy.
You can find the current constraints in:
* https://github.com/home-assistant/core/blob/dev/requirements_all.txt and
* https://github.com/home-assistant/core/blob/dev/homeassistant/package_constraints.txt
You should take a look in `/etc/homeassistant/deps/` from time to time, I do this after every upgrade, if it is not empty, install the missing package, emtpy this directory, restart Home Assistant, if it is still downloaded, possibly the wrong (mostly too new) version of a component or a library is installed. `eix`, `/etc/portage/package.accept_keywords` and `--autounmask=y` are your friends. You should not unmask too much, and think about the next releases when you unmask packages.
## Privacy
I have **no** Google, Amazon or Apple involved in my privacy (at least in this case) and I am not planning to let them in.
## Some thoughts
* Be aware that all dependent libraries could be marked as stable here as soon as they compile. Outside HA dependencies execpt portage are not tested.
* Since I use Gentoo mostly on servers, I do not use systemd, the most important reason to run Gentoo is that you are NOT forced to run this incredible crap.
* I use an own profile based on "amd64/17.1/no-multilib"
* python-3.8.5 is set as default target.
* I do no tests anymore on Python 3.6.
## Sources Missing, older release tags
Some packages with missing or hidden older releases have been [forked](https://github.com/onkelbeh?tab=repositories) after the originating author has been queried and notified. I did not touch any source, no changes except of adding the missing release tags have been made. I used these forks ONLY for generating consitent sources. If patches are needed, they will be applied during the compile process. As soon as another usable release will be available, I'll swap the `SRC_URI` back to
PyPI, the original GitHub or wherever it should come from. For every fork in use I have an open ticket at [git.edevau.net](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues). Please drop me a [note](https://github.com/onkelbeh/HomeAssistantRepository/issues) if you find a valid origin or something wrong.
## Reporting Issues
First, please also check if your issue is already reported at [git.edevau.net](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues).
If not, please report it [here](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues) or at [GitHub](https://github.com/onkelbeh/HomeAssistantRepository/issues).
Please let me know if anything is wrong or dependencies are missing, since I use only some of the components myself.
A daily compile test is run at Github with Python 3.9 to catch general faults. Every new Ebuild has to pass all its tests.
## To-dos
- Publish my ESPHome Configurations
- Do more tests with Python 3.10
- Convince the world to not run Home Assistant with Docker (see https://xkcd.com/1988/)
## Experiments in progress:
* grafana with influxdb, will have to use it at work soon and have to get used to it anyway, fits much better for irregular measurements than Cacti/RRD.
* remote IOS authentication with [haproxy](https://www.haproxy.org) and client certificates.
* play with [Node-RED](https://nodered.org/), there are user requests for it, but my skills are too low for this Ebuild :-)
## Licenses
The repository itself is released under GPL-3, all work on the depending components under the licenses they came from, which could be (as my grep told me on 12.3.2020):
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1867 Ebuilds in total, 1856 of them have in total 1877 (39 different) licenses assigned.
```sh
grep -r "LICENSE=" | cut -d ":" -f2 | sort | uniq -c | sed 's;LICENSE=";|;' | sed 's;";|;' | sed 's/ //g' | xargs -L1 printf '|%s\n'
```
|License| Ebuilds using it|
|-------|-----|
|MIT|1094|
|Apache-2.0|402|
|GPL-3|117|
|BSD|99|
|LGPL-3|27|
|GPL-2|24|
|GPL-3+|14|
|all-rights-reserved|13|
|LGPL-3+|13|
|BSD-2|10|
|Unlicense|6|
|LGPL-2.1+|6|
|MPL-2.0|5|
|LGPL-2.1|5|
|PSF-2|5|
|public-domain|4|
|EPL-1.0|3|
|HPND|3|
|AGPL-3+|2|
|ZPL|2|
|LGPL-2+|2|
|ISC|2|
|BSD-4|2|
|EPL-2.0|2|
|BitstreamVera|1|
|matplotlib|1|
|OFL-1.1|1|
|ECL-2.0|1|
|Boost-1.0|1|
|AGPL-3|1|
|PSF-2.4|1|
|ElementTree|1|
|NEWLIB|1|
|CC-BY-NC-SA-3.0|1|
|Unicode-DFS-2016|1|
|LGPL-2|1|
|CC-BY-NC-SA-4.0|1|
|CC0-1.0|1|
|GPL-2+|1|
| Count | License |
| ------ | ------ |
|2|AGPL-3|
|1|AGPL-3+|
|19|all-rights-reserved|
|384|Apache-2.0|
|3|Apache-2.0 || BSD-2|
|1|Apache-2.0 MIT|
|2|Artistic-2|
|1|Boost-1.0|
|156|BSD|
|6|BSD-2|
|5|BSD-2 Unlicense|
|7|BSD-4|
|1|BSD || Apache-2.0|
|4|CC0-1.0|
|1|CC-BY-NC-SA-3.0|
|2|CC-BY-NC-SA-4.0|
|2|ECL-2.0|
|11|EPL-1.0|
|2|GPL-1|
|22|GPL-2|
|5|GPL-2+|
|180|GPL-3|
|22|GPL-3+|
|2|ISC|
|1|LGPL-2|
|10|LGPL-2+|
|14|LGPL-2.1|
|2|LGPL-2.1+|
|28|LGPL-3|
|15|LGPL-3+|
|1346|MIT|
|5|MPL-2.0|
|1|NEWLIB|
|12|PSF-2|
|3|PSF-2.4|
|4|public-domain|
|14|Unlicense|
|5|ZPL|
(Last counted: 01/05/2023)
I did my best to keep these clean. If a valid license was published on Pypi, it has been automatically merged. Otherwise I took it from Github or alternatively from comments in the source. Sometimes these differed and have been not unique. All license strings have been adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. Authors have been asked for clarification, some still did not respond. These were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate Licenses referenced in the ebuild files and in the corresponding homepages or sources.
Last update of this text: 12.9.2020
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 01/05/2023

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>web@inode64.com</email>
<name>Fco. Javier Félix</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,8 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-group
ACCT_GROUP_ID=565

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>web@inode64.com</email>
<name>Fco. Javier Félix</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,8 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-group
ACCT_GROUP_ID=313

View File

@ -0,0 +1,2 @@
EBUILD zwavejs2mqtt-0.ebuild 183 BLAKE2B ea8d77f97ca323a5ab275a5ee16f14f8f093ab74efb6834bacaef793da78128b8e917d546db214954dd0ef3dd2d08937ad091e65663bb15f3b442d8498734fcf SHA512 e61bc3c2f7d6fbba4fe268495a2501ea5f87f7e1922de64ca059d1493f924fb713ba723aecbd715ddaea20ad5376517654ea74b5450a2664e60fab9a01c57e3f
MISC metadata.xml 251 BLAKE2B 54abda6d67a36da2a2746c3b907dc246c44749fbbceca4ba8a86f2b24b26fe14e80af9a0b2ba4531e6e6d366bb7dfec48faa4fab738933bdcc33824b39ad82ae SHA512 0ac25e6023dbc7d44a4d3f1e75c281ae05888a834f38e3689489579aa209a104cb55ab7ead51156d7f6e9edb9a92b0e13007d09e19f2b2b3aec821ec828157ac

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,9 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-group
DESCRIPTION="zwavejs2mqtt group"
ACCT_GROUP_ID=-1

View File

@ -1,2 +1,2 @@
EBUILD esphome-0.ebuild 280 BLAKE2B 5e1b6a5d1ac028a7110b91728e7b3c0aa9675cecee2489dc836f467c554ad8da526007c6a37939112d028ebd726600f0f260995f2ae259fcfbf03d57a3950de8 SHA512 04b7b7e2da8c0688ddb53d2a0fa153e48533773d1c997755d4e12a615a6f57533ba4baf85c2f140b4db606e04ddc45d3f4af1d5ddb92500bc817351e4a82a719
EBUILD esphome-0.ebuild 282 BLAKE2B 2350e0981e5390b4fb0d71f340cb202e861c9b0bc6a2ae9d5732873cbdf3449381af72a9d6262fa36780e6c79f28e7e161355cd4a6a85bd30eb9d46b2ce51931 SHA512 15e4dc00355ea332b91c3fc9ac06da3c1dd80f17aac7cbb6ecc096c50d26b40ec34f260f935abcacd4a82d64d27248220d06b668987387690ed47bc410dcd12e
MISC metadata.xml 245 BLAKE2B aa51251edec756fb62676a8bc1034117d7a535b77d20fae3b84ceef1092c6a5e38d443b2ee625e10f1de4fcd21e3a11060b6ce576c9822ba2654a1f57a663e11 SHA512 cb8da34fa343d134d0a4b98b47a799abe016eff01f518a4ac0993cddb68c3324e8b610d28559bb72b1db1ca33c08881190d5e3e102ef42c3b9985fbfa4796ae9

View File

@ -9,5 +9,5 @@ DESCRIPTION="ESPHome Dashboard User"
ACCT_USER_ID=-1
ACCT_USER_HOME="/etc/${PN}"
ACCT_USER_HOME_PERMS=0755
ACCT_USER_GROUPS=( ${PN} )
ACCT_USER_GROUPS=( "${PN}" )
acct-user_add_deps

View File

@ -1,2 +1,2 @@
EBUILD homeassistant-0.ebuild 285 BLAKE2B 2460fbf63dd649286b2632453bf18d44f5933736dde093ae596df3c4839d6683a0683145b142be652d3aab6d49b35797dfd5d924b49a55b2ae3c706eee1adb99 SHA512 c03c7aca1c2af8e11476e00b1f5d1e20f58cc04d6f305feea6aaf0ddbc76bf1c77c4111a9393a756b7536a93ba4314d6f9d7d198f8829623fab387056fde2a9f
EBUILD homeassistant-0.ebuild 304 BLAKE2B 9f57819b2f9fdeff37cd5d32d89eaf70eea6d7b15b0a520fe0d51c0ca433fab3d68a750ee6cebf9ed626ad1716d113abf6316623abfe6befea49ff452a4e1050 SHA512 4433bc3e0868cf73abf4f83741c40f4802c3cfa6902b3b4e929a19254ea8cd82f4f838e71221540716cc0cbfd07dda8303cda6e91da59f4fd574be2198d6e960
MISC metadata.xml 245 BLAKE2B aa51251edec756fb62676a8bc1034117d7a535b77d20fae3b84ceef1092c6a5e38d443b2ee625e10f1de4fcd21e3a11060b6ce576c9822ba2654a1f57a663e11 SHA512 cb8da34fa343d134d0a4b98b47a799abe016eff01f518a4ac0993cddb68c3324e8b610d28559bb72b1db1ca33c08881190d5e3e102ef42c3b9985fbfa4796ae9

View File

@ -1,4 +1,4 @@
# Copyright 2020 Gentoo Authors
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -9,5 +9,5 @@ DESCRIPTION="Home Assistant Program User"
ACCT_USER_ID=-1
ACCT_USER_HOME="/opt/${PN}"
ACCT_USER_HOME_PERMS=0755
ACCT_USER_GROUPS=( ${PN} )
ACCT_USER_GROUPS=( "${PN}" dialout usb )
acct-user_add_deps

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>web@inode64.com</email>
<name>Fco. Javier Félix</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,13 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-user
DESCRIPTION="A user for node-red"
ACCT_USER_ID=313
ACCT_USER_HOME=/var/lib/node-red
ACCT_USER_GROUPS=( node-red )
acct-user_add_deps

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>web@inode64.com</email>
<name>Fco. Javier Félix</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,13 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-user
DESCRIPTION="A user for zigbee2mqtt"
ACCT_USER_ID=313
ACCT_USER_HOME=/var/lib/zigbee2mqtt
ACCT_USER_GROUPS=( zigbee2mqtt dialout )
acct-user_add_deps

View File

@ -0,0 +1,2 @@
EBUILD zwavejs2mqtt-0.ebuild 284 BLAKE2B b809f19b979b4a781a8b494df805644ad0ecc1df185184982c52e37f9e01950264dea704fb93d7d4e63f3bac581e8910a3c21fcf07c9606bff8df3d0826e5c94 SHA512 ca5eeb450ca094d05da275b05eee80b774dd78589185366163d1f373a395bbbcce3dd4ce200d7bc101d8cf38155847efc08da1bb4b49863104db8f98e91ecf51
MISC metadata.xml 245 BLAKE2B aa51251edec756fb62676a8bc1034117d7a535b77d20fae3b84ceef1092c6a5e38d443b2ee625e10f1de4fcd21e3a11060b6ce576c9822ba2654a1f57a663e11 SHA512 cb8da34fa343d134d0a4b98b47a799abe016eff01f518a4ac0993cddb68c3324e8b610d28559bb72b1db1ca33c08881190d5e3e102ef42c3b9985fbfa4796ae9

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,13 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit acct-user
DESCRIPTION="zwavejs2mqtt User"
ACCT_USER_ID=-1
ACCT_USER_HOME="/opt/${PN}"
ACCT_USER_HOME_PERMS=0755
ACCT_USER_GROUPS=( "${PN}" )
acct-user_add_deps

View File

@ -1,3 +0,0 @@
DIST certbot-1.4.0.tar.gz 1381435 BLAKE2B 57d70a12ee38e1ba96f4c8c594c1940403e33d4cdf5111472a9c0c7d41061b2201792c38d9bb4ec516358f5592d2f689eeab31e1e686a534418b20eba2df4b4b SHA512 8926f724c47c0249e2e420cd8944f0b106682efaa2d9b211491ea4524fe4e64bb3ff4f21fd756996049d781a68294ab8307bd077b6d96fa00e09cbbdf4e59261
EBUILD acme-1.4.0.ebuild 1735 BLAKE2B 6672a6522b20e85a4d8e2181674bf87dde72ebeb762db91415efb051077b191c7193ba1eb55a8ea387ae09dbdf57b766423cc62909fde4a673f14d545551f5b4 SHA512 2c555871d0ed02df90b9149282dab1a0aacd5d662a9dc9d25b5887d56a3c2cc9200503197edb7b736a960fa374918813e33a826eec28f7565d883fabb613a2e7
MISC metadata.xml 384 BLAKE2B 55780995cb61c11ca859c9f1de17b1c22c9c92902f551ccd1ee6f030df9d513bb5519a2c62bf33bc6a5872790d033ba966e5ed137d84a4f66ab4ba7636a88887 SHA512 cf8393b25aa363bc1db4ebd23274affd1eaf999a4c2ab8d359730f421961dafd5c96fcf14c247f3f5419616116e2351d72fbf0e29301ea44ac522e865c7b0fa1

View File

@ -1,69 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python{3_6,3_7,3_8})
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
inherit git-r3
S=${WORKDIR}/${P}/${PN}
else
SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
S=${WORKDIR}/certbot-${PV}/acme
fi
inherit distutils-r1
DESCRIPTION="An implementation of the ACME protocol"
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
>=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13.1[${PYTHON_USEDEP}]
dev-python/pyrfc3339[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
>=dev-python/requests-2.10[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
"
DEPEND="
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}]
"
src_compile() {
python_foreach_impl run_in_build_dir default
distutils-r1_src_compile
if use doc ; then
cd docs || die
sphinx-build -b html -d _build/doctrees . _build/html
fi
}
python_test() {
nosetests -w ${PN} || die
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<upstream>
<remote-id type="pypi">acme</remote-id>
<remote-id type="github">letsencrypt/letsencrypt</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,6 +1,6 @@
DIST home-assistant-cli-0.9.0.tar.gz 62127 BLAKE2B 05b8d5717c114dbb5371c13ddf87f6985f2d8c8fea61ceccdeb5b52ede8f67f256c768178c39812ee4c92194ba6cf3f050ce21b84b3de64cf5559357e7982cce SHA512 26a80bbcd6e895a4df942e02b92729ea05a3b799b409879df00d5620ed235c2db6169f20077c77035914f7c37d68af7bbf20ff09d245418fb771d73f89135c71
DIST home-assistant-cli-0.9.1.tar.gz 62884 BLAKE2B 4ccafb7d461da42772c9168ce2b9c062425953f5c6776efa69559d23df14f725dd710f8501147cede9959c8fc45627846df5198128899850a7060fc42ba7aebb SHA512 eb31de0d8812151581028c2e20e4a3febc16852b046258329c8c637536e741fe08ae774b0ff5276d4e204887f76028c23015fdf71c8f83f818bc1b3683435c16
EBUILD home-assistant-cli-0.9.0.ebuild 2710 BLAKE2B 68ad92939f8853936727086d7fccc0866c8d0eaa87a8e20c7e39628c4dd48158d14297d211c74d014bb2d5e2326e02ef19551601e4858fe7c79100f25a4ec542 SHA512 44c8c1751574e173247ec709d610ca2fe353c3eb279e95da720cf3ae38bfce02554893c1611ff28bdad95ab357e335060d0221886a57899e8c0b163f827ab52e
EBUILD home-assistant-cli-0.9.1.ebuild 2710 BLAKE2B 68ad92939f8853936727086d7fccc0866c8d0eaa87a8e20c7e39628c4dd48158d14297d211c74d014bb2d5e2326e02ef19551601e4858fe7c79100f25a4ec542 SHA512 44c8c1751574e173247ec709d610ca2fe353c3eb279e95da720cf3ae38bfce02554893c1611ff28bdad95ab357e335060d0221886a57899e8c0b163f827ab52e
EBUILD home-assistant-cli-9999.ebuild 2710 BLAKE2B 68ad92939f8853936727086d7fccc0866c8d0eaa87a8e20c7e39628c4dd48158d14297d211c74d014bb2d5e2326e02ef19551601e4858fe7c79100f25a4ec542 SHA512 44c8c1751574e173247ec709d610ca2fe353c3eb279e95da720cf3ae38bfce02554893c1611ff28bdad95ab357e335060d0221886a57899e8c0b163f827ab52e
DIST home-assistant-cli-0.9.4.gh.tar.gz 61027 BLAKE2B cce0f297c2fa6022d28b7ba0e5fbe4ba7d8ff781a9a3d58718689ae3ed6e6bbb5fac23815b1f181b92e263c8333d30bfc840f8826565b68324830b887b9cdb3e SHA512 a7cdbd74d5eb32b2bce380d7086320ef6c1775dfdbce72eb18ebaad7518b540f385ec910696bed0f2d3852d001a8dbc85bb1ea47508c1e709ba04f7df815a31c
DIST home-assistant-cli-0.9.5.gh.tar.gz 61446 BLAKE2B 84be6cf4c1326ae49dad51953e6b38f494e32745d397a9bf1ed96305519f4a7e48016551bda9c21dfb7ae85451a1cffb4ce423da8a2898a271e1cdaba38bb582 SHA512 b70e3d5943d28fc91fdb62048c9b292961c3e9654fa7f2a577f7fb8e3393d2a2e3cc6bdc2529f4af4e30a196557c30c4256b26218ec3c71d3d4629bd11591d06
EBUILD home-assistant-cli-0.9.4.ebuild 2419 BLAKE2B e69c174416d11f72028efba5bedbac48f91360d77d68df643fa1a25f6eae8877cee847d4f46f56842e1311b53f1942f51d7549fc8e39a4b90885653eda7f0b7d SHA512 34b66eea9e0b0c54fe88cc6e0587b338edb49592f1ffd5ed527662063ee7badeba7ded7c7c90d6b4c281aca2136e9960284266c230e79f7355997253d37aeec6
EBUILD home-assistant-cli-0.9.5.ebuild 2212 BLAKE2B c0558fe9798dc8b68a73118536e75d7a61b569beb8680206f60d08d533dcc92305f26c42200830cdd90e7c36efccf50c0dfc0a2a6f5f8fbd3eea5a67934a3129 SHA512 e26850aa0156e589279668c8d0ac294928e8f7ca53d85983be4010d3ea7379990c325589c39718757093cd8f6c7ce91bbb174f1f6931066fff1441e7452b1266
EBUILD home-assistant-cli-9999.ebuild 2212 BLAKE2B c0558fe9798dc8b68a73118536e75d7a61b569beb8680206f60d08d533dcc92305f26c42200830cdd90e7c36efccf50c0dfc0a2a6f5f8fbd3eea5a67934a3129 SHA512 e26850aa0156e589279668c8d0ac294928e8f7ca53d85983be4010d3ea7379990c325589c39718757093cd8f6c7ce91bbb174f1f6931066fff1441e7452b1266
MISC metadata.xml 480 BLAKE2B 171a4a346c5b4d88abdd8f0e1b2e3480cb7e8e5e250e759cdfc7ee9dc7f763f235617ac12f171d9f96eeabe4f92a9a347371badbee7a230c59229e9fae14ec84 SHA512 ce473493061008ae30714cb39fa7f13fd0aff9451342da57da0cac5f6d6c4488dad514044548c8fe9b0e8030d00ac7c606a68c176f3834df2aed810fbf0b2902

View File

@ -1,73 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
else
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="The Home Assistant Command-line Interface (hass-cli)"
HOMEPAGE="https://github.com/home-assistant/home-assistant-cli/"
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=">=dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
>=dev-python/click-log-0.3.2[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/dateparser-0.7.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
~dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
>=dev-python/regex-2019.08.19[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.7.7[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
>=dev-python/mypy-0.710[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.3.1[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
<dev-python/pytest-timeout-1.4[${PYTHON_USEDEP}]
>=dev-python/pytest-5.1.2[${PYTHON_USEDEP}]
<dev-python/pytest-6[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.6.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
)"
src_prepare() {
cd "${S}"
sed -i -e "s/'ruamel.yaml>=0.16.5,<0.17'/'ruamel.yaml>=0.15.100'/" setup.py || die "Sed version helper failed!"
sed -i -e 's;jsonpath-rw>=1.4.0,<2;jsonpath-ng>=1.5.1;' setup.py || die "Sed on jsonpath-rw in setup-py failed."
sed -i -e 's;jsonpath_rw;jsonpath_ng;' homeassistant_cli/helper.py || die "Sed on helper.py failed."
eapply_user
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -1,73 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
else
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="The Home Assistant Command-line Interface (hass-cli)"
HOMEPAGE="https://github.com/home-assistant/home-assistant-cli/"
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=">=dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
>=dev-python/click-log-0.3.2[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
>=dev-python/dateparser-0.7.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
~dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
>=dev-python/regex-2019.08.19[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.7.7[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
>=dev-python/mypy-0.710[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.3.1[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
<dev-python/pytest-timeout-1.4[${PYTHON_USEDEP}]
>=dev-python/pytest-5.1.2[${PYTHON_USEDEP}]
<dev-python/pytest-6[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.6.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
)"
src_prepare() {
cd "${S}"
sed -i -e "s/'ruamel.yaml>=0.16.5,<0.17'/'ruamel.yaml>=0.15.100'/" setup.py || die "Sed version helper failed!"
sed -i -e 's;jsonpath-rw>=1.4.0,<2;jsonpath-ng>=1.5.1;' setup.py || die "Sed on jsonpath-rw in setup-py failed."
sed -i -e 's;jsonpath_rw;jsonpath_ng;' homeassistant_cli/helper.py || die "Sed on helper.py failed."
eapply_user
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,64 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
else
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
fi
DESCRIPTION="The Home Assistant Command-line Interface (hass-cli)"
HOMEPAGE="https://github.com/home-assistant/home-assistant-cli/"
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
>=dev-python/click-log-0.3.2[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
>=dev-python/dateparser-0.7.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
>=dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.3[${PYTHON_USEDEP}]
>=dev-python/regex-2021.4.4[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.18[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.9[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.4[${PYTHON_USEDEP}]
>=dev-python/mypy-0.800[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-6.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.7[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.11[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-0.9.4[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-1.4[${PYTHON_USEDEP}]
>=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
)"
src_prepare() {
sed -i -e "s/'ruamel.yaml>=0.16.5,<0.18'/'ruamel.yaml>=0.15.100'/" setup.py || die "Sed version helper failed!"
sed -i -e "s/'click>=8,<9'/'click'/" setup.py || die "click version helper failed!"
sed -i -e "s/'dateparser>=0.7.1,<0.8'/'dateparser>=0.7.1'/" setup.py || die "click version helper failed!"
eapply_user
}

View File

@ -0,0 +1,64 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
else
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
fi
DESCRIPTION="The Home Assistant Command-line Interface (hass-cli)"
HOMEPAGE="https://github.com/home-assistant/home-assistant-cli/"
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
>=dev-python/click-log-0.4[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
>=dev-python/dateparser-0.7.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
>=dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-3.0.0[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.18[${PYTHON_USEDEP}]
>=dev-python/requests-2.28.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.9[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.4[${PYTHON_USEDEP}]
>=dev-python/mypy-0.800[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-6.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.7[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.11[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-0.9.4[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-2[${PYTHON_USEDEP}]
>=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
)"
src_prepare() {
sed -i -e "s/'regex>=2022.9'/'regex'/" setup.py || die "regex version helper failed!"
eapply_user
}
distutils_enable_tests pytest

View File

@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
@ -11,7 +11,7 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
else
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/home-assistant/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
fi
DESCRIPTION="The Home Assistant Command-line Interface (hass-cli)"
@ -20,54 +20,45 @@ EGIT_REPO_URI="https://github.com/home-assistant/home-assistant-cli.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
>=dev-python/click-log-0.3.2[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
RDEPEND=">=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
>=dev-python/click-log-0.4[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
>=dev-python/dateparser-0.7.1[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
~dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
>=dev-python/regex-2019.08.19[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/jsonpath-ng-1.5.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-3.0.0[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.17[${PYTHON_USEDEP}]
<dev-python/ruamel-yaml-0.18[${PYTHON_USEDEP}]
>=dev-python/requests-2.28.0[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
>=dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.7.7[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
>=dev-python/mypy-0.710[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.3.1[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
<dev-python/pytest-timeout-1.4[${PYTHON_USEDEP}]
>=dev-python/pytest-5.1.2[${PYTHON_USEDEP}]
<dev-python/pytest-6[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.6.0[${PYTHON_USEDEP}]
>=dev-python/flake8-3.9[${PYTHON_USEDEP}]
>=dev-python/mock-open-1.4[${PYTHON_USEDEP}]
>=dev-python/mypy-0.800[${PYTHON_USEDEP}]
>=dev-python/pydocstyle-6.0.0[${PYTHON_USEDEP}]
>=dev-python/pylint-2.7[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.11[${PYTHON_USEDEP}]
>=dev-python/pytest-sugar-0.9.4[${PYTHON_USEDEP}]
>=dev-python/pytest-timeout-2[${PYTHON_USEDEP}]
>=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
>=dev-python/wheel-0.33.1[${PYTHON_USEDEP}]
>=dev-python/codecov-2.0.15[${PYTHON_USEDEP}]
>=dev-python/twine-1.13.0[${PYTHON_USEDEP}]
)"
src_prepare() {
cd "${S}"
sed -i -e "s/'ruamel.yaml>=0.16.5,<0.17'/'ruamel.yaml>=0.15.100'/" setup.py || die "Sed version helper failed!"
sed -i -e 's;jsonpath-rw>=1.4.0,<2;jsonpath-ng>=1.5.1;' setup.py || die "Sed on jsonpath-rw in setup-py failed."
sed -i -e 's;jsonpath_rw;jsonpath_ng;' homeassistant_cli/helper.py || die "Sed on helper.py failed."
sed -i -e "s/'regex>=2022.9'/'regex'/" setup.py || die "regex version helper failed!"
eapply_user
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,26 @@
AUX hasstest 72 BLAKE2B 219dc5045193bbbf18f91d37d90072304c3f9937ac55337b692fcb03adea8e3fc63b3852b928d40b13162172d22f712feedb088d3d9b54c9b199a01c7446c865 SHA512 57491109c03926f0ab0a1cd3f55da0faac1afafc0ba405b4244652376d4da943227c17b1bf6b136dea151649cf02caf51d9aa49581addffc8ccf4c80d3c43c9c
AUX homeassistant.conf.d 289 BLAKE2B f4a85e5a451a254a8ef39ae481275eb93b52df645d5b5c5801fee30aa548b9ccc0eacc9fb5256793d819dabe7b53f6ff5809798d0cf771464d56aae5a58332d2 SHA512 db860c0c66d0ea66eae08e62befc07d06ccea37a2ab89280328faa54ef6cc0623a65257e7806c72b1afe608e502566ca4ee8ac7de3547705ee6394184b5da110
AUX homeassistant.init.d 1032 BLAKE2B 5ca9e2232a35ddfd4279fd9537a112f9edd59edce7468f7054e6d049f4d3a60d4ef82d74092eec1d7067bf0d27579acf6e1b19f77b9f0dca26126dd59bb76838 SHA512 0ce07ebf1bba1df4772def0c6eba126dd8a8347208d15fbe1cac774f62dd100e172f0d8d5d26f9dda7352f36a5191e1b771af7f44fcbf16d365d5595451b44fb
AUX homeassistant.logrotate 185 BLAKE2B 95f6a0681f2ee9da195052a19e7a420aef5f99f601cf1b30c895c50a846364bd86764d4e2a550f5171374e43a2197f366d4b7b263333049445ee45c998046582 SHA512 fc99afd4bcec3785e3387e368040688e46b02093100e9c8b5b6c11bd4566b39adf73da2b8470427ba6a9193335979ee78e8667caf227d23b31b7b50ffb9f63d6
AUX homeassistant.service 295 BLAKE2B d6989960404ed89f1888e0776a622b8b1800c39353f458d38af2364f1cc6a93c249155c291633792666e12c5235d8d43e9ce933a1e8958ea3fa948f74ebdf716 SHA512 c2c7349e3eda8a0bf85543697e37d0038e7c89ebdbaa22104dfc26f56d408d1c843c2aaa0c935359ab0ba27e7e3529a48a5487bf5c3377e37d47b0cbececa3ec
AUX maxcube_TypeError_01114_dirty_hack.patch 2264 BLAKE2B d4287d558066962e331e91839ac9008bdaa3b41bfccd634d79479b3d35716e2defedfa311d06143fd2d97a253965dd3b78a9b8097d9ed961a0616fbebbc3761c SHA512 3b7264dd59df521bcc2b3a3e449960d59eb85c9a91fafbe022d63f5e5c3308a17e3f171a33dcef116bf9fe0ccd4302a5357e5bf92a72870ceddd1f306c2be29c
AUX maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec2048796d705dd3958cf89b28e744089a51531c967c5c54f3deb9c0a39ba68d93e062550c0af44eedf464922ee55435cb01ceac SHA512 1c7a2c45a7eefe6e6cb1b9354e94a0fe0afcfa09f519f6d6237359f67545a438cccf53121850ebf5258519d0adeb3e653159d41f5aea398e5c8f7a8ed07081a5
AUX recorder.yaml 114 BLAKE2B af04840805aa13124208584e7f1d40335905a083ee7deead5c0e4324c969f2a231c801c23e42075782950aba7535496d92747bf03efd73a80b0d07e8492d18f6 SHA512 cb4e353e54fb6dc7034569b8d62ddcdca92680c23c2c4e1ce707d21cf95e93f41a0c44521d8c3ee90b68c830f6b8e65dab82ae64bfa09727ae384550f7de0c94
AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63feabc8603ecc51ec16e0a4775e0c7da83d12d1ef0c9815c9ebf8ec8a86a678bb4a3b40decb04adc887f26 SHA512 2b13cd4175427853d5a4169cc7d441d62618e8136e4f5d9fd24d08a47f6916953ebd1e747ea9c7a0907b00766c7b2108ba3b8917178fd9a795da23e6525a0faf
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-2023.2.5.gh.tar.gz 18210750 BLAKE2B 326d12c4d279f908674f25388b059f557dd13c411a055f7f5d4cb7dba72a2cf381d2c8ac40bf018aced3cc278208f343bdc246c5aff6a570443b49720dc18a51 SHA512 1d7c0559b9735e97fd030089d5af54d8c694602c0d2f6696066b9f216c4cc66de561c509b6ac5538cd3ca911ddce59e53c98a1c6cd779a7d3b4ceea9ed286493
DIST homeassistant-2023.2.5.tar.gz 12099705 BLAKE2B 009dc9b17de0166dd0cc890583b989ba3fbb8f4df21ae5ac520a94fd833401c07af56eedfbf32fbdb77d7a505629b0f1d967a29c6cf4cfbcd19c1a5359a52ffb SHA512 6e1702e93041e0f6bd71498d5137530c4a7bdd2eea020a1f84da5b0d825af6a052371b70e81798b7022c33e0af9f25760b5bf6f7a6a7a5d8c4d4d9c8fd14d0d7
DIST homeassistant-2023.3.6.gh.tar.gz 13678015 BLAKE2B 3208e8de6532973a8ed0c1fded9aecb2aa4e68f9a5a30767466240077b911b8000340f710081ee96c4f6f4fe0baa213b1562f8d06320ad9f4b387cc671e4f79d SHA512 9ed69757a2a81f0ce3b6ff271bee429ecc1a0fa14a75b981ec234320efad8d596e38cf1d7ad7c95ed74f53f3b82edba290bb9fcf8eb7489a707309fd70e9e151
DIST homeassistant-2023.3.6.tar.gz 12559122 BLAKE2B 6d5eddd724039754607eb0f798147973be18748fc0c608ba5b473d503be3f8179b8070139af62b4484b238f17ca32c481a25604f33d3d6044db31ba3ffb718d9 SHA512 ddd9b218abd6c986163c849b3552204ca5fc7a1a9b448b68e2116f0cb106c1f439dca7f8e8e3dc8316f38fb4512280d409d2793529e9321405766de097e77c6e
DIST homeassistant-2023.4.4.gh.tar.gz 13866710 BLAKE2B c48209cc8377059a662ec4284e81c4a7886e586e180c8a9e943f7d47dae9cc0f0bb14de79a32c75b913bd2abe0fa026dce4aa5cf513f8efa588c630bfe76fa68 SHA512 686fb4c869d18c4e4065fe45de060be4cc037bad35d6fbfdf8304138e6e5af67f3da9fc18515310bd420a1dac60f4d52cd2779065d3f0b1cfd858456a13299d0
DIST homeassistant-2023.4.4.tar.gz 12889752 BLAKE2B f25ab36bbe75a19349801c1c7bb39fc1dda7c7612d64bee7c65f45721e9dcc1ff8431f2ff79d2fbdcfb0715d1d065e7b131b6a731ffe3d0853c8eb21430dc32b SHA512 70a7fa3e1d872bc57b77fc2e380274d080e9bbcf745c7626881928dc4f79844afa8fb71c0611186f3d6a0a047080fcacce2e944730166200bea7f0a3bae7a188
DIST homeassistant-2023.4.6.gh.tar.gz 13871472 BLAKE2B 1ae4d3d2826d194ae8a8d91132b410647159887e97c1273d615d56fe1d435ed6373b2ec4bef04c53d85bb6a9c91318aaa4db2f2b2b48cfae51b9ce990930afc6 SHA512 c8a4ef2e8a1f02a588e1bc5f6bd9281118c3b2edff4c3c13a1045fa733ca2195b7bbcf371aa3df57cc6d4e4a631944a6e360ee6a61add5de104a2a0e0f023fbd
DIST homeassistant-2023.4.6.tar.gz 12994366 BLAKE2B 68915d12ddce0aed48d5f21b64dd4581afe35db5028f165d7317216c445f7c88ae7f46138566358f1753f6411895b47915f51c676fce47adbcdc0ad3fcd090c7 SHA512 9433ac0f3d2f1309269e07a94060b758a059db8dd5ca8e14dcb0b986155f47863959c3be03eaa2c5984458fc1b4d4303ec155b7a298f5a910c181ec1489859ad
EBUILD homeassistant-full-2023.2.5.ebuild 78644 BLAKE2B 0df7d283fcafd1f1ea7fd3ef88f3fead7119a9122055ace9db5a1052bea802bea10c87ab700d00b02c85301b1b3841725904edbce02fd9d51c8128073b10f092 SHA512 1332b33bdfc8554c4711b1eab657fa5143b200359660577915f6e278a3cf9bf5d6e3510dbd0f8cb7b3f54eb6cf91c08755aec4ae5f7dbd28fe1fb46f66c99654
EBUILD homeassistant-full-2023.3.6-r1.ebuild 79179 BLAKE2B 9bc63d39a503c72916b0067e8cc70abd31f5366a0f51a10b58c768860306979742025d1b5a9ac78b6896bee500cadb0233c9e445904c36432db466abb43efff3 SHA512 a744edb8b4e1dade504d5610cfea188526cc1275035c37d45323206e3f795603a1481bcc829b92348d9a95b765c438eb23c068ae48a13349b46043a58c92ea28
EBUILD homeassistant-full-2023.3.6.ebuild 79028 BLAKE2B 2594b3ff01f6bed562bf8b227489b5fa9862078d3161a42daf8eb7fad9bcc4bd194b37c92b12c42360bac0dd42010c5af743cb57f6cdc51f2f846062bb9aa561 SHA512 f7b30d09bbfbb154652d70be5c844117a93e7a80f4c1c6c89ea772f62d0e08376d474a3c063d5c1955e983d3b7a92082384454d616ab1efd634e1b9a9a0ecd9e
EBUILD homeassistant-full-2023.4.4-r1.ebuild 79440 BLAKE2B 27b4f94c40094728e8e19256b614d598f079d7d9b3e435979f3a30104bb345cfb843d3be2a73ba1f203c33e49aed01acb26e91c75702ce81f4123c20b6d0491d SHA512 730cc69a367e7ae6cb21236528efb6e0cc6397fcb8606446cbb88f044ca9cb72bc6beab29833a4069bca1a47e84ca4e7079cf9d2aceb67c7680e2576f0ba5d65
EBUILD homeassistant-full-2023.4.4.ebuild 79289 BLAKE2B 52813cd0cc003104b25e7f1442415554d12d1e9aa29995c16dbcfaddcbe1c40ab1c69fac51d3d8b62593da201aa3415efc48afb6d3028770781267720a5462a6 SHA512 4988511c8497290c70957b36de192ce11b6f00f56132ce1e01812676e18b368d870484e7edf4b4c25de898e6f3c4241e11b7360c2b7905f10d9ff00072e5dd23
EBUILD homeassistant-full-2023.4.6.ebuild 79454 BLAKE2B ca8ac47b613a41f832bc8faeaf02db0f83c6ef3d05d8d66f702e4df8418f21d742cfb4bafe84aa4a0bb79f1cd2035d64e09aa3508a83001c8a3c6b4802150617 SHA512 55348f6d1daa15aa786300ae8835f1f0a72046a1bb560d7e8eb3cf442bba3ccf151e41c538a8df91703f84b45dfdc220254ac62597385f060636214d7aede4d5
EBUILD homeassistant-full-9999.ebuild 79379 BLAKE2B 8dc886843da0aea55ac756ee169fdbd860c2d66dd1a4968dda34b56f4e5285c98655fbc7247c5eba84505ad1853bf618e4c919cdc8d6c80556b583b83ddc6bae SHA512 f1d542dcecf9abdcfbfdd3522fa9d13a33d993c86b10e90914046755475036637ea54e8bc049145daf982629d9e5043a493d27401aa7d89decfee532727934c5
MISC metadata.xml 84556 BLAKE2B fd169f41535c11bbdf320204c7c4fed1c0954339d7f5f75c4c8ef98045b51c2ea4c58590d7bac7a33b5d6c6bae2d090f062b589809d76887565b97b3bab033ac SHA512 76c0696afa518cbc236a434fe1f668bc48a89db286e5c7b71da768f8835e1caed7a0e6a2fe34e9f64d3c191c9a69a1c1a9069743639ec91bb88eb49e084f5acb

View File

@ -0,0 +1,3 @@
#!/bin/bash
/usr/bin/hass -c /etc/homeassistant/ --script check_config

View File

@ -0,0 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# /etc/conf.d/homeassistant: configuration for /etc/init.d/homeassistant
# Switches to pass to hass. See 'hass --help' for
# a description of the possible switches.
#
HASS_OPTS=""

View File

@ -0,0 +1,36 @@
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="Open-source home automation platform"
user="homeassistant:homeassistant"
stdoutlog="/var/log/homeassistant/stdout.log"
serverlog="/var/log/homeassistant/server.log"
warningslog="/var/log/homeassistant/warnings.log"
retry="20"
start_stop_daemon_args="--user $user --stdout $stdoutlog --stderr $serverlog --wait 10"
command="/usr/bin/hass"
command_args="
--config /etc/homeassistant
--log-file $warningslog
--log-rotate-days 9
${HASS_OPTS}
"
command_background=yes
pidfile=/run/homeassistant.pid
depend() {
need net
after apcupsd asterisk bluetooth cups dhcp esphome influxdb mosquitto mysql netdata prometheus socat-zwave syncthing unifi upsd xabbix zigbee2mqtt zoneminder
}
start_pre() {
checkpath --file --owner $user --mode 0644 $stdoutlog
checkpath --file --owner $user --mode 0644 $serverlog
checkpath --file --owner $user --mode 0644 $warningslog
}

View File

@ -0,0 +1,12 @@
/var/log/homeassistant/server.log
/var/log/homeassistant/stdout.log
{
compress
maxage 365
rotate 7
size 1024k
notifempty
missingok
copytruncate
su homeassistant homeassistant
}

View File

@ -0,0 +1,11 @@
[Unit]
Description=Home Assistant
After=network-online.target
[Service]
ExecStart=/usr/bin/hass --skip-pip --log-no-color --log-rotate-days 9 --log-file /var/log/homeassistant/warnings.log --config /etc/homeassistant
Group=homeassistant
User=homeassistant
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,50 @@
diff --git a/homeassistant/components/maxcube/binary_sensor.py b/homeassistant/components/maxcube/binary_sensor.py
index b42c96f..6433f8f 100644
--- a/homeassistant/components/maxcube/binary_sensor.py
+++ b/homeassistant/components/maxcube/binary_sensor.py
@@ -17,7 +17,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
name = f"{cube.room_by_id(device.room_id).name} {device.name}"
# Only add Window Shutters
- if cube.is_windowshutter(device):
+ if device.type == 4:
devices.append(MaxCubeShutter(handler, name, device.rf_address))
if devices:
diff --git a/homeassistant/components/maxcube/climate.py b/homeassistant/components/maxcube/climate.py
index 69d9177..c846e91 100644
--- a/homeassistant/components/maxcube/climate.py
+++ b/homeassistant/components/maxcube/climate.py
@@ -65,7 +65,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
for device in cube.devices:
name = f"{cube.room_by_id(device.room_id).name} {device.name}"
- if cube.is_thermostat(device) or cube.is_wallthermostat(device):
+ if device.type == 1 or device.type == 3:
devices.append(MaxCubeClimate(handler, name, device.rf_address))
if devices:
@@ -173,11 +173,11 @@ class MaxCubeClimate(ClimateEntity):
device = cube.device_by_rf(self._rf_address)
valve = 0
- if cube.is_thermostat(device):
+ if device.type == 1:
valve = device.valve_position
- elif cube.is_wallthermostat(device):
+ elif device.type == 3:
for device in cube.devices_by_room(cube.room_by_id(device.room_id)):
- if cube.is_thermostat(device) and device.valve_position > 0:
+ if device.type == 1 and device.valve_position > 0:
valve = device.valve_position
break
else:
@@ -275,7 +275,7 @@ class MaxCubeClimate(ClimateEntity):
device = cube.device_by_rf(self._rf_address)
attributes = {}
- if cube.is_thermostat(device):
+ if device.type == 1:
attributes[ATTR_VALVE_POSITION] = device.valve_position
return attributes

View File

@ -0,0 +1,28 @@
diff --git a/homeassistant/components/maxcube/binary_sensor.py b/homeassistant/components/maxcube/binary_sensor.py
index 639b670..8a02649 100644
--- a/homeassistant/components/maxcube/binary_sensor.py
+++ b/homeassistant/components/maxcube/binary_sensor.py
@@ -17,7 +17,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
name = "{} {}".format(cube.room_by_id(device.room_id).name, device.name)
# Only add Window Shutters
- if cube.is_windowshutter(device):
+ # if cube.is_windowhutter(device):
+ if device.type == 4:
devices.append(MaxCubeShutter(handler, name, device.rf_address))
if devices:
diff --git a/homeassistant/components/maxcube/climate.py b/homeassistant/components/maxcube/climate.py
index e09dfc2..40df857 100644
--- a/homeassistant/components/maxcube/climate.py
+++ b/homeassistant/components/maxcube/climate.py
@@ -36,7 +36,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
for device in cube.devices:
name = "{} {}".format(cube.room_by_id(device.room_id).name, device.name)
- if cube.is_thermostat(device) or cube.is_wallthermostat(device):
+ # if cube.is_thermostat(device) or cube.is_wallthermostat(device):
+ if device.type == 3 or device.type == 1:
devices.append(MaxCubeClimate(handler, name, device.rf_address))
if devices:

View File

@ -0,0 +1,4 @@
recorder:
purge_interval: 2
purge_keep_days: 10
db_url: sqlite:///var/db/homeassistant/home-assistant_v2.db

View File

@ -0,0 +1,26 @@
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# socat pty,link=/dev/ttyUSB0,raw,user=homeassistant,group=dialout,mode=777 tcp:172.16.3.199:3333
description="Tunnel to MS3 for making a Z-wave Socket"
user="root:root"
stdoutlog="/var/log/homeassistant/socat.log"
start_stop_daemon_args="--user $user --stdout $stdoutlog"
command="/usr/bin/socat"
command_args="
pty,link=/dev/ttyUSB0,raw,user=homeassistant,group=dialout,mode=777
tcp:172.16.3.199:3333
"
command_background=yes
pidfile=/run/socat-zwave.pid
depend() {
need net
after bootmisc
}

View File

@ -0,0 +1,48 @@
#!/bin/bash
# This script will:
# 1. stop homeassistant if it is running (wait/kill it if it fails to stop)
# 2. backs up /opt/homeassistant (moves it to: /opt/homeassistant-OLD_VERSION)
# 3. merges the new version of homeassistant
# 4. re-starts homeassistant if the merge was successful
prog="homeassistant"
atom="app-misc/${prog}-bin"
if /etc/init.d/${prog} --ifstarted stop ; then
echo "${prog} stopped"
else
echo "failed to stop, sleeping/killing: ${prog}"
sleep 10
pkill -9 -f "/opt/${prog}/bin/python3"
/etc/init.d/${prog} zap
fi
installed_version()
{
equery --no-color list -F '$fullversion' "${atom}" | tail -1
}
version=$(installed_version)
if [ -d "/opt/${prog}" ] ; then
if [ ! -d "/opt/${prog}-v${version}" ] ; then
echo "backing up previous version as v${version}"
echo "rollback by: mv /opt/${prog}-v${version} /opt/${prog}"
mv "/opt/${prog}" "/opt/${prog}-v${version}"
else
echo "Previous backup found - (re-)move it manually and run the script again"
exit 2
fi
fi
if emerge -v1 "${atom}" ; then
echo "${atom} $(installed_version) merge successful"
/etc/init.d/${prog} --ifstopped start
echo "now check the logs in /var/log/${prog}; e.g."
echo " tail -f /var/log/${prog}/server.log"
exit 0
else
echo "${atom} merge failed"
exit 1
fi

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,926 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">home-assistant</remote-id>
<remote-id type="github">home-assistant/core</remote-id>
<doc>https://www.home-assistant.io/docs/</doc>
<maintainer>
<email>hello@home-assistant.io</email>
<name>The Home Assistant Authors</name>
</maintainer>
</upstream>
<use>
<flag name="abode">Library for the Abode alarm API</flag>
<flag name="accuweather">Uses the AccuWeather web service as a source for weather data</flag>
<flag name="acer_projector">Allows you to control the state of RS232 connected projectors from Acer</flag>
<flag name="acmeda">Control and monitor covers via your Rolelase Acmeda Automate hub</flag>
<flag name="adax">Integrates Adax heater into Home Assistant</flag>
<flag name="adguard">Monitor your ad- and tracker-blocking DNS server</flag>
<flag name="ads">Beckhoff automation devices running TwinCAT</flag>
<flag name="advantage_air">API helper for Advantage Air's MyAir and e-zone API</flag>
<flag name="aemet"> AEMET OpenData meteorological data</flag>
<flag name="aftership">The aftership platform allows one to track deliveries by AfterShip</flag>
<flag name="agent_dvr">Agent DVR is a free* software DVR solution</flag>
<flag name="airly">Uses the Airly web service as a source for air quality data</flag>
<flag name="airnow">AirNow web service as a source for air quality data</flag>
<flag name="airq">integrating the sensors provided by your air-Q device</flag>
<flag name="airthings">A python3 library to communicate with Aws</flag>
<flag name="airthings_ble">Integrates Airthings BLE sensors into Home Assistant</flag>
<flag name="airtouch4">control Ducted Air Conditioning Systems that are using the AirTouch 4 Controller</flag>
<flag name="airvisual">Airvisual sensor platform queries the AirVisual cloud API for air quality data</flag>
<flag name="airvisual_pro">allows Home Assistant to retrieve data from an AirVisual Node/Pro unit</flag>
<flag name="airzone">This integration allows getting values from the local API of Airzone HVAC zoning</flag>
<flag name="aladdin_connect">The aladdin_connect cover platform lets you control Genie Aladdin Connect garage</flag>
<flag name="alarmdecoder">AlarmDecoder extended</flag>
<flag name="almond">Almond is an open, privacy-preserving virtual assistant by Stanford Open Virtual</flag>
<flag name="alpha_vantage">The alpha_vantage sensor platform uses Alpha Vantage to monitor the stock market</flag>
<flag name="amazon_polly">Text-to-speech platform that works with Amazon Polly</flag>
<flag name="ambee">Asynchronous Python client for the Ambee API</flag>
<flag name="amberelectric">Interface to the Amber Electric API, allowing you to download current and foreca</flag>
<flag name="ambiclimate">Communicate with Ambiclimate devices</flag>
<flag name="ambient_station">Retrieves local weather information from Ambient Weather</flag>
<flag name="amcrest">Integrate your Amcrest or Dahua IP camera</flag>
<flag name="ampio">Will query the open data API of ampio.pl to monitor air quality sensor station</flag>
<flag name="androidtv">Library for controlling an Android TV, formerly firetv</flag>
<flag name="android_ip_webcam">The android_ip_webcam integration turns any Android phone or tablet into a netwo</flag>
<flag name="anel_pwrctrl">The anel_pwrctrl switch platform allows you to control ANEL PwrCtrl devices</flag>
<flag name="anthemav">Both Anthems current and last generation of A/V Receivers and Processors suppor</flag>
<flag name="apache_kafka">Sends all state changes from Home Assistant to a Apache Kafka topic</flag>
<flag name="apcupsd">Query Apcupsd status information from Home Assistant</flag>
<flag name="apns">Use Apple Push Notification service (APNS) to deliver notifications</flag>
<flag name="apple_tv">Library for controlling an Apple TV</flag>
<flag name="apprise">The Apprise service is an all-in-one solution to open up Home Assistant</flag>
<flag name="aprs">Tracker integration connects to the APRS-IS</flag>
<flag name="aqualogic">Provides connectivity to a Hayward/Goldline AquaLogic/ProLogic pool controller</flag>
<flag name="aquostv">The aquostv platform allows you to control a Sharp Aquos TV</flag>
<flag name="aranet">Integrates Aranet devices into Home Assistant</flag>
<flag name="arcam_fmj">Control Arcam receivers from Home Assistant</flag>
<flag name="arduino">deprecated</flag>
<flag name="arlo">Allows you to integrate your Arlo devices into Home Assistant</flag>
<flag name="arris_tg2492lg">Presence detection from an Arris TG2492LG router</flag>
<flag name="aruba">Presence detection by looking at connected devices to an Aruba Instant device</flag>
<flag name="aseko_pool_live">allows you to monitor your Aseko ASIN Aqua dosing systems</flag>
<flag name="asterisk_mbox">asterisk_mbox Asterisk Voicemail integration</flag>
<flag name="asuswrt">Api wrapper for Asuswrt</flag>
<flag name="atag">Connect to Atag One thermostats, reporting and setting its status</flag>
<flag name="aten_pe">The aten_pe integration lets you control ATEN Rack PDUs from Home Assistant</flag>
<flag name="atome">The atome sensor platform is retrieving the consumption of your home from the Di</flag>
<flag name="august">The august integration allows you to integrate your August devices in Home Assis</flag>
<flag name="aurora">The aurora platform uses the NOAA Aurora Forecast service to let you know if an </flag>
<flag name="aurora_abb_powerone">This implements a direct RS485 connection to a solar inverter in the PVI-3.0/3.6</flag>
<flag name="aussie_broadband">displays various service metrics using the Aussie Broadband API</flag>
<flag name="avea">Library for Elgato Avea bulbs</flag>
<flag name="avion">Support for the Avi-on Bluetooth dimmer switch Avi-on</flag>
<flag name="avri">deprecated</flag>
<flag name="awair">Library to integrate the Awair GraphQL API into Home Assistant</flag>
<flag name="aws">Interact with Amazon Web Services</flag>
<flag name="axis">Communicating with newer devices from Axis Communications</flag>
<flag name="backup">allows you to create and download backups for your Home Assistant Core</flag>
<flag name="baf">Integrates Big Ass Fans devices into Home Assistant</flag>
<flag name="baidu">Text-to-speech platform uses Baidu TTS engine to read a text with natural soundi</flag>
<flag name="balboa">This integration adds support for Balboa Spa WiFi Modules</flag>
<flag name="bbb_gpio">Base for all BeagleBone Black related GPIO platforms</flag>
<flag name="bbox">Presence detection from Bbox Modem Router from Bouygues Telecom</flag>
<flag name="beewi_smartclim">BeeWi SmartClim BLE is a Bluetooth Low Energy sensor device</flag>
<flag name="bh1750">Allows you to read the ambient light level in Lux from a BH1750FVI sensor connec</flag>
<flag name="bitcoin">Displays various details about the Bitcoin network</flag>
<flag name="bizkaibus">The bizkaibus sensor will give you the time until the next bus in the selected s</flag>
<flag name="blackbird">Control Monoprice Blackbird Matrix Switch using a serial connection</flag>
<flag name="blebox">BleBox produces small, low-power, surprisingly affordable, feature-rich WiFi dev</flag>
<flag name="blink">Get events from Blink camera and security systems</flag>
<flag name="blinksticklight">The blinkstick platform lets you control your Blinkstick lights</flag>
<flag name="blinkt">The blinkt light platform lets you control the Blinkt! board, featuring eight su</flag>
<flag name="blockchain">Displays Bitcoin wallet balances from blockchain.info</flag>
<flag name="bluemaestro">Integrates BlueMaestro devices into Home Assistant</flag>
<flag name="bluesound">Allows you to control your Bluesound HiFi wireless speakers and audio integratio</flag>
<flag name="bluetooth">The Bluetooth integration will detect nearby Bluetooth devices</flag>
<flag name="bluetooth_le_tracker">Tracks Bluetooth low-energy devices periodically based on interval_seconds value</flag>
<flag name="bluetooth_tracker">Discovers new devices on boot and tracks Bluetooth devices periodically</flag>
<flag name="bme280">Bosch BME280 Environmental sensor connected via I2c bus (SDA, SCL pins)</flag>
<flag name="bme680">Read temperature, humidity, pressure and gas resistance values of a Bosch BME680</flag>
<flag name="bmp280">Get temperature and pressure values of a Bosch BMP280 Environmental sensor conne</flag>
<flag name="bmw_connected_drive">Retrieve data from the BMW Connected Drive</flag>
<flag name="bond">Asynchronous Python wrapper library over Bond Local API</flag>
<flag name="bosch_shc">integrate your Bosch SHC into Home Assistant</flag>
<flag name="braviatv">Control almost all Sony Bravia TV 2013 and newer</flag>
<flag name="broadlink">Allows you to interact with Broadlink remote control devices</flag>
<flag name="brother">Read current data from your local Brother printer</flag>
<flag name="brottsplatskartan">brottsplatskartan sensor allows one to track reported incidents</flag>
<flag name="brunt">The brunt platform allows one to control Blind Engines by Brunt</flag>
<flag name="bsblan">This integration integrates BSBLan device into Home Assistant</flag>
<flag name="bthome">Integrates BTHome BLE devices into Home Assistant</flag>
<flag name="bt_home_hub_5">Offers presence detection by looking at connected devices to a BT Home </flag>
<flag name="bt_smarthub">Presence detection by looking at BT Smart Hub based routers</flag>
<flag name="buienradar">Integrate buienradar weather data into Home Assistant</flag>
<flag name="caldav">Integrate a CalDAV (RFC4791) calendar in Home Assistant</flag>
<flag name="camera">The camera integration allows you to use IP cameras with Home Assistant</flag>
<flag name="canary">Allows you to integrate your Canary devices from Home Assistant</flag>
<flag name="cast">Let Home Assitant talk to Google Chromecast</flag>
<flag name="channels">Allows you to control Channels from Home Assistant</flag>
<flag name="circuit">Unify Circuit platform allows you to send notifications</flag>
<flag name="cisco_ios">Presence detection scanner for Cisco IOS devices</flag>
<flag name="cisco_mobility_express">ciscomobilityexpress support for Home Assistant</flag>
<flag name="cisco_webex_teams">Deliver rich notifications from Home Assistant to Cisco Webex Teams</flag>
<flag name="clementine">The clementine platform allows you to control a Clementine Music Player</flag>
<flag name="cli">Set a dependency for Home Assistant Cli hass-cli (lots of modules required)</flag>
<flag name="climacell">obtain weather information from the ClimaCell API</flag>
<flag name="cloud">Quickly integrate your local Home Assistant with various cloud services</flag>
<flag name="cloudflare">With the cloudflare integration, you can keep your Cloudflare records up to date</flag>
<flag name="cmus">Allows you to control a cmus music player from Home Assistant</flag>
<flag name="co2signal">Queries the CO2Signal API for the CO2 intensity of a specific region</flag>
<flag name="coinbase">Lets you access account balances and exchange rates from coinbase</flag>
<flag name="color_extractor">color_extractor extracts the predominant color from a given image</flag>
<flag name="comfoconnect">Comfoconnect integration lets you control Zehnder ComfoAir</flag>
<flag name="compensation">Compensation integration consumes the state from other sensors</flag>
<flag name="concord232">Provides integration with GE, Interlogix (and other brands) alarm panels</flag>
<flag name="control4">Allows you to control and monitor lights from your local Control4 system</flag>
<flag name="coolmaster">The coolmaster climate platform lets you control HVAC through CoolMasterNet</flag>
<flag name="coronavirus">Add sensors for COVID-19 infections from Johns Hopkins University</flag>
<flag name="cppm_tracker">Detect presence by looking at connected devices to Aruba Clearpass</flag>
<flag name="cpuspeed">The cpuspeed sensor platform to allow you to monitor the current CPU speed</flag>
<flag name="crownstone">allows you to control your Crownstones via cloud or using a USB dongle</flag>
<flag name="cups">Using the open source printing system CUPS to show details about your printers</flag>
<flag name="daikin">Integrate Daikin wireless controllers into Home Assistant</flag>
<flag name="danfoss_air">The danfoss_air integration accesses information from your Danfoss Air HRV unit</flag>
<flag name="darksky">Use dark sky weather data from Home Assistant</flag>
<flag name="datadog">The datadog integration sends all state changes to Datadog using a Datadog Agent</flag>
<flag name="debugpy">Useful in testing changes on a local development install</flag>
<flag name="deconz">Add deCONZ ConBee/RaspBee Zigbee gateways to Home Assistant</flag>
<flag name="decora">Support Decora Bluetooth dimmer switch Leviton from Home Assistant</flag>
<flag name="decora_wifi">Support for Leviton Decora Wi-Fi dimmers/switches via the MyLeviton API</flag>
<flag name="delijn">De Lijn public transport network in Flanders</flag>
<flag name="deluge">Local polling for Deluge Switches and Sensors</flag>
<flag name="denonavr">Automation Library for Denon AVR receivers</flag>
<flag name="deutsche_bahn">will give you the departure time of the next train for the given connection</flag>
<flag name="devolo_home_control">Add Devolo Home-control to Home Assistant</flag>
<flag name="devolo_home_network">The devolo Home Network integration allows you to monitor your PLC network</flag>
<flag name="dexcom">View your CGM data from Dexcom from Home Assistant</flag>
<flag name="dhcp">will watch the network for DHCP requests for supported devices and services</flag>
<flag name="dht">Get the current temperature and humidity from a DHT11, DHT22 or AM2302 device</flag>
<flag name="digitalloggers">Switch platform controls the state of your Digital Loggers switches</flag>
<flag name="digital_ocean">Access information about your Digital Ocean droplets from Home Assistant</flag>
<flag name="directv">Allows you to control a DirecTV receiver and its client devices</flag>
<flag name="discogs">Discogs Client for Home Assistant</flag>
<flag name="discord">Send messages to the user using Discord from Home Assistant</flag>
<flag name="discovery">Automatically configure zeroconf/mDNS and UPnP devices in Home Assistant</flag>
<flag name="dlib_face_detect">Image processing platform for Home Assistant</flag>
<flag name="dlib_face_identify">image processing platform allows you to use the Dlib</flag>
<flag name="dlink">Allows you to control the state of your D-Link Wi-Fi Smart Plugs</flag>
<flag name="dlna_dmr">Allows you to control a DLNA Digital Media Renderer</flag>
<flag name="dlna_dms">allows you to browse and play media from a DLNA Digital Media Server</flag>
<flag name="dnsip">will expose an IP address, fetched via DNS resolution, as its value</flag>
<flag name="dominos">dominos integration allows you to order Dominos Pizza</flag>
<flag name="doods"> image processing integration allows you to detect and recognize objects</flag>
<flag name="doorbird">The doorbird implementation allows you to integrate your DoorBird device</flag>
<flag name="dormakaba_dkey">Integrates Dormakaba dKey Bluetooth Low Energy connected locks</flag>
<flag name="dovado">The dovado integration manages communication with the Dovado router</flag>
<flag name="dsmr">Dutch Smart Meters which comply to DSMR (Dutch Smart Meter Requirements)</flag>
<flag name="dunehd">control a Dune HD media player</flag>
<flag name="dwd_weather_warnings">dwd_weather_warnings sensor platform uses DWD for warnings</flag>
<flag name="dweet">transfer details collected with Home Assistant to Dweet.io</flag>
<flag name="dynalite">Dynalite DyNET interface forHome Assistant </flag>
<flag name="dyson">integrate all Dyson related platforms into Home Assistant</flag>
<flag name="eafm">UK Environment Agency Flood Monitoring API to provide sensors</flag>
<flag name="easyenergy">integrates the easyEnergy API platform with Home Assistant</flag>
<flag name="ebox">Integrate your EBox account information into Home Assistant</flag>
<flag name="ebusd">Integration between ebusd daemon for communication with eBUS heating systems</flag>
<flag name="ecoal_boiler">The ecoal_boiler integration is the base for pumps and sensors</flag>
<flag name="ecobee">Talk to Ecobee thermostats from Home Assistant</flag>
<flag name="econet">consuming the information provided by a EcoNet enabled Rheem water heater</flag>
<flag name="ecovacs">ecovacs integration to integrate all Ecovacs (Deebot) vacuums</flag>
<flag name="ecowitt">add Ecowitt Weather station to your Home Assistant</flag>
<flag name="eddystone_temperature">reads temperature information from Eddystone beacons</flag>
<flag name="edimax">switch platform allows you to control the state of your Edimax switches</flag>
<flag name="edl21">edl21 integration lets you read German EDL21 smart meters using SML</flag>
<flag name="ee_brightbox">presence detection by looking at connected devices to a EE Bright Box 2 router</flag>
<flag name="efergy">Integrate your Efergy meter information into Home Assistant</flag>
<flag name="egardia">Control an Egardia/Woonveilig alarm control panel from Home Assistant</flag>
<flag name="eight_sleep">Fetch data from your Eight Sleep smart cover or mattress</flag>
<flag name="elgato">The Elgato Key Light sets the bar for high-end studio lighting</flag>
<flag name="eliqonline">Integrate your ELIQ Online smart meter information</flag>
<flag name="elkm1">Elk-M1 is a home security and automation controller</flag>
<flag name="elmax">enables Home Assistant integration with ELMAX control panels</flag>
<flag name="elv">control the state of your ELV PCA 301 smart switch</flag>
<flag name="emby">The emby platform allows you to control a Emby multimedia system</flag>
<flag name="emonitor">SiteSage Emonitor allows local power monitoring on a per circuit basis</flag>
<flag name="emulated_hue">Emulated_hue integration provides a virtual Philips Hue bridge</flag>
<flag name="emulated_kasa">Emulates a TP-Link Kasa smart plug and announces the power usage</flag>
<flag name="emulated_roku">Emulate Roku API for Harmony and Android remotes</flag>
<flag name="energyzero">integrates the EnergyZero API platform with Home Assistant</flag>
<flag name="enigma2">Support for Enigma2 boxes with openwebif support</flag>
<flag name="enocean">Support for Enocean devices in Home Assistant</flag>
<flag name="enphase_envoy">Reads electricity production and consumption from an Enphase Envoy</flag>
<flag name="entur_public_transport">entur_public_transport sensor gives real-time departure information</flag>
<flag name="environment_canada">Access meteorological data from Environment Canada from Home Assistant</flag>
<flag name="envirophat">Display information collected by an Enviro pHAT add-on board</flag>
<flag name="envisalink">Link Envisalink devices to Home Assistant</flag>
<flag name="ephember">The ephember climate platform lets you control EPH Controls thermostats</flag>
<flag name="epson">The epson platform allows you to control a Epson projector</flag>
<flag name="epsonworkforce">monitor the ink levels of a Epson Workforce printer</flag>
<flag name="eq3btsmart">Integrate EQ3 Bluetooth Smart Thermostats in Home Assistant</flag>
<flag name="escea">allows monitoring and control of local Escea fireplaces</flag>
<flag name="esphome">Support for esphome sensors, covers and switches and it's dashboard</flag>
<flag name="essent">communicate with the (undocumented) API of Dutch energy provider Essent</flag>
<flag name="etherscan">displays Ether and ERC-20 token balances from Etherscan.io</flag>
<flag name="eufy">eufy integration is the main integration to integrate various eufy devices</flag>
<flag name="eufylife_ble">integrate Eufy smart scales with Home Assistant</flag>
<flag name="everlights">Library for controlling an EverLights lighting system</flag>
<flag name="evil_genius_labs">allows you to control and monitor the artworks by Evil Genius Labs</flag>
<flag name="evohome">links with all non-US Honeywell Total Connect Comfort (TCC) CH/DHW systems</flag>
<flag name="ezviz">ezviz sensor platform uses the EzvizLife API to interact with the devices</flag>
<flag name="faa_delays">delays at US Airports based on the FAAs National Airspace System Status</flag>
<flag name="familyhub">get images of the inside of your Samsung Family Hub refrigerator</flag>
<flag name="fastdotcom">uses the Fast.com web service to measure network bandwidth performance</flag>
<flag name="feedreader">an RSS/Atom feed reader that polls feeds every hour</flag>
<flag name="ffmpeg">allows other Home Assistant integrations to process video and audio streams</flag>
<flag name="fibaro">Fibaro hub is a controller mainly connecting to Z-Wave devices</flag>
<flag name="fido">Integrate your Fido account information into Home Assistant</flag>
<flag name="file">Store notifications as a file</flag>
<flag name="file_upload">The file upload integration allows various features in the frontend to upload fi</flag>
<flag name="fints">This only works with banks that support the FinTS (aka. HBCI) standard</flag>
<flag name="fireservicerota">scheduling and dispatching system for firefighters</flag>
<flag name="firmata">Firmata can be used to add digital inputs and outputs to Home Assistant</flag>
<flag name="fitbit">The Fitbit sensor allows you to expose data from Fitbit to Home Assistant</flag>
<flag name="fivem">lets you retrieve information from a FiveM server within Home Assistant</flag>
<flag name="fixer">current exchange rate from Fixer.io using data from ECB</flag>
<flag name="fjaraskupan">Fjäråskupan allows you to control your Bluetooth equipped kitchen fan</flag>
<flag name="fleetgo">integrate your vehicles equipped with FleetGO hardware into Home Assistant</flag>
<flag name="flexit">Integrates Flexit Air Conditioning unit into Home Assistant</flag>
<flag name="flic">The flic platform allows you to receive click events from flic smart buttons</flag>
<flag name="flick_electric">Flick Electric Co is a power company in New Zealand</flag>
<flag name="flipr">Flipr is a smart pool monitor (Cloud Polling)</flag>
<flag name="flo">The flo integration integrates Flo by Moen smart water shutoff valves</flag>
<flag name="flume">monitors the real-time status of your home water meter</flag>
<flag name="flunearyou">allows users in the US to get information from Flu Near You</flag>
<flag name="flux_led">flux_led support is integrated into Home Assistant as a light platform</flag>
<flag name="folder_watcher">publishing events on the bus on the creation/deletion/modification of files</flag>
<flag name="foobot">fetch air quality data from your Foobot device</flag>
<flag name="forecast_solar">Asynchronous Python client for getting forecast solar information</flag>
<flag name="forked_daapd">allows you to control your forked-daapd server from Home Assistant</flag>
<flag name="fortios">device tracking of devices with a MAC address connected to a FortiGate</flag>
<flag name="foscam">watch the live stream of your Foscam IP camera</flag>
<flag name="freebox">allows you to observe and control Freebox router</flag>
<flag name="freedompro">Python library for Freedompro API</flag>
<flag name="free_mobile">free_mobile platform is using the French mobile operator Free Mobile to send SMS</flag>
<flag name="fritz">The fritz platform offers presence detection for Home Assistant</flag>
<flag name="fritzbox">Allows you to integrate the switch and climate devices in Home Assistant</flag>
<flag name="fritzbox_callmonitor">monitors the call monitor exposed by AVM FRITZ!Box routers on TCP port 1012</flag>
<flag name="fritzbox_netmonitor">sensor monitors the network statistics exposed by AVM FRITZ!Box routers</flag>
<flag name="fronius">Add (very basic) Support for Fronius Symo JSON Api to Home Assistant</flag>
<flag name="frontier_silicon">Support for Internet Radios based on the Frontier Silicon chipset</flag>
<flag name="fully_kiosk">Fully Kiosk Browser control in Home Assistant</flag>
<flag name="futurenow">Allows you to use P5 FutureNow relay/dimmer units as lights</flag>
<flag name="garages_amsterdam">measure the occupancy of Amsterdam parking garages in the Netherlands</flag>
<flag name="garmin_connect">The Garmin Connect sensor allows you to expose data from Garmin Connect</flag>
<flag name="gc100">The Global Caché GC-100 can be integrated into Home Assistant</flag>
<flag name="gdacs">lets you use a GeoRSS feed provided by GDACS</flag>
<flag name="generic">The generic camera platform allows you to integrate any IP camera or other URL</flag>
<flag name="geniushub">geniushub integration links Home Assistant with your Genius Hub CH/DHW</flag>
<flag name="geocaching">The Geocaching integration pulls data from your Geocaching.com account</flag>
<flag name="geonetnz_quakes">Use a GeoJSON feed provided by New Zealands GeoNet in Home Assistant</flag>
<flag name="geonetnz_volcano">GeoJSON feed provided by New Zealands GeoNet</flag>
<flag name="geo_json_events">geo_json_events platform lets you integrate GeoJSON feeds</flag>
<flag name="geo_rss_events">geo_rss_events sensor retrieves events from a GeoRSS feed</flag>
<flag name="gios">Source for air quality data for Home Assistant</flag>
<flag name="github">GitHub sensor integrates data from GitHub to monitor your favorite repositories</flag>
<flag name="gitlab_ci">Sensor platform integrates results reported by CI/CD Pipeline Jobs in GitLab</flag>
<flag name="gitter">Sensor allows one to monitor a Gitter.im chatroom for unread messages</flag>
<flag name="glances">Allows you to monitor the system information provided by the Glances API</flag>
<flag name="gntp">Growl Notification Protocol: sending and receiving notifications</flag>
<flag name="goalfeed">Use your Goalfeed account to trigger events in Home Assistant</flag>
<flag name="goalzero">Access Goal Zero REST Api from Home Assistant</flag>
<flag name="gogogate2">Control Gogogate2-Enabled garage doors from Home Assistant</flag>
<flag name="goodwe">poll a GoodWe solar inverter over the local network</flag>
<flag name="google">Intergrate Google Calendar into Home Assistant</flag>
<flag name="google_cloud">allows you to use Google Cloud Platform API</flag>
<flag name="google_mail">allows you to connect your Google Mail and set an email auto-response</flag>
<flag name="google_maps">google_maps platform allows you to detect presence</flag>
<flag name="google_pubsub">Send events to Google Cloud Pub/Sub from Home Assistant</flag>
<flag name="google_sheets">allows you to connect your Google Drive to Home Assistant</flag>
<flag name="google_translate">google_translate text-to-speech platform for Home Assistant</flag>
<flag name="google_travel_time">provides travel time from the Google Distance Matrix API</flag>
<flag name="govee_ble">Integrates Govee BLE devices into Home Assistant</flag>
<flag name="gpsd">GPS information collected by gpsd and a GPS receiver</flag>
<flag name="gree">Discover, connect and control Gree based minisplit systems</flag>
<flag name="greeneye_monitor">Allows you to create sensors for the various data channels of the GEM</flag>
<flag name="greenwave">Communicates with the Greenwave Reality (TCP Connected) Gateway</flag>
<flag name="growatt_server">Talk to growatt server from Home Assistant</flag>
<flag name="gstreamer">Allows you to play audio via a gstreamer pipeline from Home Assistant</flag>
<flag name="gtfs">gtfs sensor will give you the next departure time</flag>
<flag name="guardian">Integrates Elexa Guardian water valve controllers into Home Assistant</flag>
<flag name="habitica">Allows you to monitor and manage your Habitica profile</flag>
<flag name="hangouts">Allows you to send messages to Google Hangouts conversations</flag>
<flag name="hardware">provides an API which offers information about certain board types, USB dongles,</flag>
<flag name="harman_kardon_avr">Allows you to control Harman Kardon Network Receivers</flag>
<flag name="harmony">Logitech Harmony support for Home Assistant</flag>
<flag name="hdmi_cec">Creates switch entities for HDMI devices in Home Assistant</flag>
<flag name="heatmiser">Control Heatmiser DT/DT-E/PRT/PRT-E thermostats from Heatmiser</flag>
<flag name="heos">Controlling HEOS devices through the HEOS CLI Protocol from Home Assistant</flag>
<flag name="here_travel_time">here_travel_time sensor provides travel time from the HERE Routing API</flag>
<flag name="hikvision">Parses the event stream of a Hikvision IP Camera for Home Assistant</flag>
<flag name="hikvisioncam">Allows you to control your motion detection settings from Home Assistant</flag>
<flag name="hisense_aehw4a1">Give Wi-Fi connectivity to some Hisense ACs</flag>
<flag name="hive">Set up and integrate all supported Hive devices in Home Assistant</flag>
<flag name="hlk_sw16">HLK-SW16 by Hi-Link is a simple networkable 16 port relay device</flag>
<flag name="homekit">Integrate HomeKit controller and accessory in Home Assistant</flag>
<flag name="homekit_controller">Allows you to connect accessories with the “Works with HomeKit” logo</flag>
<flag name="homematic">An API for the homematicip cloud</flag>
<flag name="homematicip_cloud">A python wrapper for the homematicIP REST API (Access Point Based)</flag>
<flag name="homewizard">collect data locally from the HomeWizard Energy products</flag>
<flag name="homeworks">Lutron Homeworks Series 4 &amp; 8 systems via RS232</flag>
<flag name="home_connect">Home Connect standard for Bosch and Siemens</flag>
<flag name="home_plus_control">allows you to control a range of Legrand in-wall switches and power outlets</flag>
<flag name="honeywell">Integrates US-based Honeywell Total Connect Comfort (TCC) climate systems</flag>
<flag name="horizon">Allows you to control a Unitymedia Horizon HD Recorder from Home Assistant</flag>
<flag name="hp_ilo">Query HP Integrated Lights out XML interfaces from Home Assistant</flag>
<flag name="html5">html5 enables you to receive push notifications to Chrome or Firefox</flag>
<flag name="http">Serves all files and data required for the Home Assistant frontend</flag>
<flag name="htu21d">Read the temperature and humidity from a HTU21D sensor (I2C)</flag>
<flag name="huawei_lte">allows you to observe and control Huawei LTE devices</flag>
<flag name="hue">talk to Philips Hue</flag>
<flag name="huisbaasje">Huisbaasje smart energy meters</flag>
<flag name="hunterdouglas_powerview">integrate your Hunter Douglas PowerView devices</flag>
<flag name="hvv_departures">departures of busses, trains and ferries in Hamburg</flag>
<flag name="hydrawise">communicate with Hunter Wi-Fi irrigation controllers</flag>
<flag name="hyperion">integrate your Hyperion into Home Assistant</flag>
<flag name="ialarm">A simple library to interface with iAlarm systems, built for Home-Assistant</flag>
<flag name="ialarm_xr">Provides connectivity with the Antifurto365 iAlarmXR alarm systems</flag>
<flag name="iammeter">real-time readings of WEM3080, WEM3162 &amp; WEM3080T) meters</flag>
<flag name="iaqualink">iAqualink by Jandy allows you to control your pool via cloud service</flag>
<flag name="ibeacon">Adding iBeacon Tracker to your Home Assistant instance</flag>
<flag name="icloud">iCloud allows users to track their location on iOS devices</flag>
<flag name="idteck_prox">This integration works with Proximity Readers (RFID card readers)</flag>
<flag name="ifttt">With the IFTTT component, you can trigger applets through the “Webhooks” service</flag>
<flag name="iglo"> integrate your iGlo Lights into Home Assistant</flag>
<flag name="ign_sismologia">a GeoRSS feed provided by the Spanish Instituto Geográfico Nacional</flag>
<flag name="ihc">use IHC Python SDK</flag>
<flag name="image">handle image assets in Home Assistant</flag>
<flag name="image_upload">handle image assets in Home Assistant</flag>
<flag name="imap">observing your IMAP server and reporting the amount of unread emails</flag>
<flag name="incomfort">client for Intergas InComfort/InTouch Lan2RF systems</flag>
<flag name="influxdb">transfer sensor data to a local InfluxDB database</flag>
<flag name="inkbird">Integrates INKBIRD devices into Home Assistant</flag>
<flag name="insteon">allowing linked INSTEON devices to be used</flag>
<flag name="intellifire">integrate IntelliFire Wi-Fi fireplace modules</flag>
<flag name="intesishome">communications with IntesisHome Smart AC Controllers</flag>
<flag name="iota">IOTA is a new blockless distributed ledger</flag>
<flag name="iotawatt">Integration for the IoTaWatt Open WiFi Electricity Monitor</flag>
<flag name="iperf3">iperf3 sensor integration allows you to measure network bandwidth</flag>
<flag name="ipma">ipma weather platform</flag>
<flag name="ipp">read current data from your networked printer</flag>
<flag name="iqvia">collects allergy, asthma and disease information (based on a U.S. ZIP code)</flag>
<flag name="irish_rail_transport">will give you the time until the next two departures</flag>
<flag name="islamic_prayer_times">integration displays the various prayer times for Muslims as sensors</flag>
<flag name="iss">know if the station is above your home location</flag>
<flag name="isy994">controller that is capable of controlling Insteon and X10 devices</flag>
<flag name="itach">control IR devices with a Global Caché iTach Device and GC-100 devices</flag>
<flag name="izone">control of a local iZone ducted reverse-cycle climate control device</flag>
<flag name="jellyfin">exposes a Jellyfin server as a Media Source in Home Assistant</flag>
<flag name="jewish_calendar">Displays information related to the Jewish Calendar as a variety of sensors</flag>
<flag name="joaoapps_join">joaoapps_join integration exposes services from Join</flag>
<flag name="juicenet">pulls data from a JuiceNet charging station</flag>
<flag name="justnimbus">queries the JustNumbus API used by the JustNimbus web dashboard</flag>
<flag name="kaiterra">view the readings from your Laser Egg or Sensedge device</flag>
<flag name="kaleidescape">The Kaleidescape integration allows automation of Kaleidescape movie player</flag>
<flag name="keba">integrates your Keba charging station (wallbox)</flag>
<flag name="keenetic_ndms2">presence detection for Keenetic Routers</flag>
<flag name="kef">KEF wireless speakers</flag>
<flag name="kegtron">Integrates Kegtron Smart Keg Monitor (Gen 1) devices into Home Assistant</flag>
<flag name="keyboard">The keyboard integration simulates key presses on the host machine</flag>
<flag name="keyboard_remote">Receive signals from a keyboard and use it as a remote control</flag>
<flag name="keymitt_ble">allows you to locally control a MicroBot Push</flag>
<flag name="kira">main integration to integrate Keene Electronics IR over IP Kira modules</flag>
<flag name="kiwi">open your KIWI Smart Locks and Smart Entry Devices</flag>
<flag name="kmtronic">IP-connected relays</flag>
<flag name="knx">Asynchronous Library for the KNX protocol</flag>
<flag name="kodi">control a Kodi multimedia system</flag>
<flag name="konnected">connect wired sensors and switches to a Konnected Alarm Panel</flag>
<flag name="kostal_plenticore">allows you to get data from Kostal Plenticore solar inverters</flag>
<flag name="kraken">allows you to monitor exchange rates on kraken.com</flag>
<flag name="kulersky">connects Brightech Kuler Sky floor lamps to Home Assistant</flag>
<flag name="kwb">integrates the sensors of KWB Easyfire pellet central heating units </flag>
<flag name="lacrosse">using the data provided by a Jeelink USB dongle or this Arduino sketch</flag>
<flag name="lacrosse_view">allows access to LaCrosse sensors</flag>
<flag name="lametric">LaMetric Time smart clock listen to web radio and display notifications</flag>
<flag name="landisgyr_heat_meter">read the meter values from Ultraheat devices by Landis &amp; Gyr</flag>
<flag name="lastfm">lastfm sensor platform will allow you to see whenever a user starts scrobbling</flag>
<flag name="launch_library">information about the next planned space launch</flag>
<flag name="laundrify">Monitor the status of your washing machine or dryer using a laundrify WiFi power</flag>
<flag name="lcn">allows you to connect to LCN hardware devices</flag>
<flag name="ld2410_ble">Integrates LD2410 BLE sensors from Hi-Link</flag>
<flag name="led_ble">Integrates multiple brands of Bluetooth Low Energy LED devices into Home Assista</flag>
<flag name="lg_netcast">allows you to control a LG Smart TV running NetCast 3.0</flag>
<flag name="lg_soundbar">allows you to control LG Soundbars from Home Assistant</flag>
<flag name="lidarr">The Lidarr integration pulls data from a given Lidarr instance</flag>
<flag name="life360">detect presence using the unofficial API of Life360</flag>
<flag name="lifx">The lifx integration allows you to integrate your LIFX into Home Assistant</flag>
<flag name="lifx_legacy">The lifx integration allows you to integrate your LIFX into Home Assistant</flag>
<flag name="lightwave">WiFi link for controlling Lightwave lights, switches and TRVs</flag>
<flag name="limitlessled">control your LimitlessLED lights from within Home Assistant</flag>
<flag name="linode">allows you to access the information about your Linode systems</flag>
<flag name="linux_battery">sensor platform is using the information stored in /sys/class/power_supply/</flag>
<flag name="litejet">allows a computer to control the system via LiteJets third party protocol</flag>
<flag name="litterrobot">Wi-Fi-enabled, automatic, self-cleaning litter box for cats</flag>
<flag name="livisi">connect your LIVISI Smart Home Controller (SHC) to Home Assistant</flag>
<flag name="local_calendar">create a calendar of events in Home Assistant</flag>
<flag name="logi_circle">integrate your Logi Circle cameras in Home Assistant</flag>
<flag name="london_underground">display the status of London underground lines</flag>
<flag name="lookin">Integrates LOOKin devices into Home Assistant</flag>
<flag name="loopenergy">Integrate your Loop Energy meter information into Home Assistant</flag>
<flag name="luci">fetch connected devices from your OpenWrt</flag>
<flag name="luftdaten">query the open data API of luftdaten.info to monitor air quality</flag>
<flag name="lupusec">Lupusec alarm control panel and ultimately all connected sensors</flag>
<flag name="lutron">communicating with the Lutron main hub</flag>
<flag name="lutron_caseta">for communicating with the Lutron Caseta Smart Bridge</flag>
<flag name="lw12wifi">Library to control the Lagute LW-12 WiFi LED controller</flag>
<flag name="lyft">Unofficial Lyft Rides API Python SDK</flag>
<flag name="lyric">Honeywell Lyric thermostat platform</flag>
<flag name="magicseaweed">Provides API wrapper to magicseaweed.com.</flag>
<flag name="mailgun">A simple mailgun client - pymailgun fork with Python 3 support</flag>
<flag name="mariadb">WIP: set dependencies for mariadb-connector-python</flag>
<flag name="marytts">text-to-speech platform uses MaryTTS Text-to-Speech engine</flag>
<flag name="mastodon">uses Mastodon to deliver notifications from Home Assistant</flag>
<flag name="matrix">allows you to send messages to matrix rooms</flag>
<flag name="maxcube">eQ-3 ELV MAX Cube Python API</flag>
<flag name="mazda">Mazda Connected Services integration</flag>
<flag name="mcp23017">base for all related mcp23017 platforms in Home Assistant</flag>
<flag name="meater">communication with the Meater Temperature Probe from Apption Labs</flag>
<flag name="mediaroom">control a Mediaroom Set-Top Box (STB) from Home Assistant</flag>
<flag name="media_extractor">Gets a stream URL and sends it to a media player entity</flag>
<flag name="melcloud">Python MELCloud interface</flag>
<flag name="melissa">main integration to connect to a Melissa Climate A/C control</flag>
<flag name="melnor">allows you to control your Melnor Bluetooth watering valves</flag>
<flag name="message_bird">MessageBird's REST API</flag>
<flag name="met">met platform uses the Met.no web service as a source for meteorological data</flag>
<flag name="meteoalarm">watch for weather alerts in europe from MeteoAlarm</flag>
<flag name="meteoclimatic">use Meteoclimatic web service as a source for meteorological data</flag>
<flag name="meteo_france">uses the meteorological data from Meteo-France</flag>
<flag name="metoffice">weather platform uses the Met Offices DataPoint API</flag>
<flag name="met_eireann">Met Éireann (The Irish Meteorological Service) Public Weather Forecast API</flag>
<flag name="mfi">sensor platform to allow you to monitor mFi mPort interface and sensors</flag>
<flag name="mhz19">small non-dispersive infrared sensor that can measure CO2 level</flag>
<flag name="microsoft">text-to-speech platform uses the TTS engine of the Microsoft Speech Service</flag>
<flag name="mikrotik">add support for MikroTik RouterOS API</flag>
<flag name="mill">A python3 library to communicate with Mill</flag>
<flag name="minecraft_server">retrieve information from a Minecraft server</flag>
<flag name="minio">This integration adds interaction with Minio</flag>
<flag name="moat">Integrates Moat devices into Home Assistant</flag>
<flag name="mobile_app">allows Home Assistant mobile apps to easily integrate with Home Assistant</flag>
<flag name="mochad">main integration to integrate all Mochad X10 platforms</flag>
<flag name="modbus">sensors and switches controlled over MODBUS serial, TCP, and UDP connections</flag>
<flag name="modem_callerid">Uses an available modem for collecting caller ID information</flag>
<flag name="modern_forms">Asynchronous Python client for Modern Forms fans</flag>
<flag name="moehlenhoff_alpha2">allows you to control a Möhlenhoff Alpha 2 temperature control system</flag>
<flag name="monoprice">Python API for talking to Monoprice 6-zone amplifier</flag>
<flag name="mopeka">Integrates Mopeka devices into Home Assistant</flag>
<flag name="mosquitto">Set a runtime dependency for Mosquitto MQTT broker</flag>
<flag name="motioneye">integrate your motionEye server into Home Assistant</flag>
<flag name="motion_blinds">control Motion Blinds from Coulisse B.V.</flag>
<flag name="mpd">allows you to control a Music Player Daemon from Home Assistant</flag>
<flag name="mqtt">install MQTT Broker and dependencies</flag>
<flag name="msteams">send notifications from Home Assistant to a team channel in Microsoft Teams</flag>
<flag name="mullvad">Mullvad VPN integration pulls Mullvad VPN status information</flag>
<flag name="mutesync">mutesync integration for Home Assistant connects to the mütesync virtual button</flag>
<flag name="mvglive">departure times bus, tram, subway, train of Munich public transport network</flag>
<flag name="mychevy">communicates with the my.chevrolet website using the javascript API</flag>
<flag name="mycroft">allows you to send notifications and more to Mycroft from Home Assistant</flag>
<flag name="myq">lets you control MyQ-Enabled garage doors</flag>
<flag name="mysensors">combines devices like Arduino, ESP8266, Raspberry Pi, NRF24L01+ and RFM69</flag>
<flag name="mysql">set dependencies to install MySQL Libraries for use with HomeAssistant</flag>
<flag name="mystrom">Python API for interacting with myStrom devices</flag>
<flag name="mythicbeastsdns">automatically update your dynamic DNS entry at Mythic Beasts</flag>
<flag name="nad">allows you to control a NAD receiver through RS232, TCP and Telnet</flag>
<flag name="nam">get temperature, humidity, pressure , air quality from Nettigo devices</flag>
<flag name="namecheapdns">automatically update your dynamic DNS entry at namecheapdns</flag>
<flag name="nanoleaf">allows you to control Nanoleaf Light Panels from Home Assistant</flag>
<flag name="neato">Python package for controlling Neato pybotvac Connected vacuum robot</flag>
<flag name="nederlandse_spoorwegen">train service in the Netherlands</flag>
<flag name="nello">The nello platform allows you to control Nello intercoms</flag>
<flag name="ness_alarm">integrate a Ness D8x/D16x alarm system</flag>
<flag name="nest">main integration to integrate all Nest related platforms</flag>
<flag name="netatmo">Access to Netatmo weather station data</flag>
<flag name="netdata">API for interacting with Netdata</flag>
<flag name="netgear">detect presence by looking at connected devices to a NETGEAR device</flag>
<flag name="netgear_lte">observe and control NETGEAR LTE modems</flag>
<flag name="netio">Binding library for Koukaam netio devices</flag>
<flag name="network">provides network configuration for integrations such as Zeroconf</flag>
<flag name="neurio_energy">Integrate your Neurio meter information into Home Assistant</flag>
<flag name="nexia">allows you to integrate your Nexia thermostats into Home Assistant</flag>
<flag name="nextbus"> will give you the next departure time and associated data fro NextBus</flag>
<flag name="nextcloud">pulls summary Nextcloud information into Home Assistant</flag>
<flag name="nextdns">allows you to monitor NextDNS statistics</flag>
<flag name="nfandroidtv">Notifications for Android TV and Notifications for Fire TV</flag>
<flag name="nibe_heatpump">control and monitor Nibe Heat Pumps in Home Assistant</flag>
<flag name="nightscout">allows you to view your CGM data from Nightscout</flag>
<flag name="niko_home_control">platform allows you to integrate your Niko Home Control</flag>
<flag name="nilu">An API client for getting pollution data from NILU sensor stations in Norway</flag>
<flag name="nina">displays warnings from Bundesamt für Bevölkerungsschutz und Katastrophenhilfe</flag>
<flag name="nissan_leaf">integration with the NissanConnect EV cloud service</flag>
<flag name="nmap_tracker">Presence detection for Home Assistant with nmap</flag>
<flag name="nmbs">Python wrapper for the iRail API</flag>
<flag name="noaa_tides">prediction for the tides for any location in the United States</flag>
<flag name="nobo_hub">Integrates Nobo Ecohub into Home Assistant</flag>
<flag name="norway_air">A library to communicate with the met.no api</flag>
<flag name="notify_events">The Notify.Events service is a platform for the notify component</flag>
<flag name="notion">retrieves data from Notion wireless home monitoring sensor kits</flag>
<flag name="nsw_fuel_station">uses the NSW Fuel Check App data as a source for current fuel price data</flag>
<flag name="nsw_rural_fire_service_feed">integrate a GeoJSON feed provided by the NSW Rural Fire Service</flag>
<flag name="nuheat">control your connected NuHeat Signature floor heating thermostats</flag>
<flag name="nuki">control Nuki Smart Locks</flag>
<flag name="numato">base for all related GPIO platforms of the Numato 32 Port USB GPIO expander</flag>
<flag name="nut">monitor a UPS (battery backup) by using data from a NUT (Network UPS Tools)</flag>
<flag name="nws">uses the National Weather Service web API</flag>
<flag name="nx584">NX584/NX8E Interface Library and Server</flag>
<flag name="nzbget">monitor and control your downloads with NZBGet</flag>
<flag name="oasa_telematics">bus and trolley arrival times for Greek public transport for Athens</flag>
<flag name="obihai">view the call status for your Obihai devices</flag>
<flag name="octoprint">The main integration to integrate OctoPrint sensors</flag>
<flag name="oem">ESP8266 based “WiFi MQTT Relay / Thermostat” sold by OpenEnergyMonitor</flag>
<flag name="ohmconnect"> show you the current OhmConnect status for the given OhmConnect ID</flag>
<flag name="ombi">The Ombi integration monitors data from your Ombi instance</flag>
<flag name="omnilogic">Hayward Onmilogic pool control system</flag>
<flag name="oncue">allow you to monitor the state of your Oncue enabled Kohler generator</flag>
<flag name="ondilo_ico">ICO continuously analyzes the water quality of your pool/spa</flag>
<flag name="onewire">supports sensors which that using the One wire (1-wire) bus for communication</flag>
<flag name="onkyo">allows you to control a Onkyo, Integra and some recent Pioneer receivers</flag>
<flag name="onvif">allows you to use an ONVIF Profile S conformant device</flag>
<flag name="openai_conversation">adds a conversation agent powered by OpenAI in Home Assistant</flag>
<flag name="openerz"> uses OpenERZ API to access data from Entsorgung und Recycling Zürich (ERZ)</flag>
<flag name="openevse">an OpenEVSE Charging station equipped with an ESP8266-based Wi-Fi</flag>
<flag name="opengarage">opengarage cover platform lets you control the open-source OpenGarage.io device</flag>
<flag name="openhome"> connect an Openhome Compliant Renderer to Home Assistant</flag>
<flag name="opensensemap">query the open data API of openSenseMap.org air quality sensor station</flag>
<flag name="opentherm_gw">control the OpenTherm Gateway from Home Assistant</flag>
<flag name="openuv">The openuv integration displays UV and Ozone data from openuv.io</flag>
<flag name="openweathermap">uses OpenWeatherMap as a source for current meteorological data</flag>
<flag name="open_meteo">integrates the free weather forecast from Open-Meteo</flag>
<flag name="opnsense">Presence Detection with data from OPNsense firewall</flag>
<flag name="opple">allows you to control the state of your Opple smart light</flag>
<flag name="oralb">Integrates Oral-B devices into Home Assistant</flag>
<flag name="orangepi_gpio">The orangepi_gpio integration is the base for all related GPIO platforms</flag>
<flag name="oru">fetches your current energy usage from your ORU smart meter</flag>
<flag name="orvibo">allows you to toggle your (dangerous) Orvibo S20 Wifi Smart Sockets</flag>
<flag name="osramlightify">allows you to integrate your Osram Lightify into Home Assistant</flag>
<flag name="otbr">calling an Open Thread Border Routers REST API in Home Assistant</flag>
<flag name="otp">generates One-Time Passwords according to RFC6238</flag>
<flag name="overkiz">The Overkiz (by Somfy) integration platform</flag>
<flag name="ovo_energy">allows you to monitor your energy consumption data</flag>
<flag name="owntracks">OwnTracks: track your location and send it directly to Home Assistant</flag>
<flag name="ozw">Open Zwave MQTT</flag>
<flag name="p1_monitor">The P1 Monitor integration integrates the P1 Monitor API platform</flag>
<flag name="panasonic_bluray">allows you to control a Panasonic Blu-Ray player</flag>
<flag name="panasonic_viera">panasonic_viera platform allows you to control a Panasonic Viera TV</flag>
<flag name="pandora">Pandora account, you can control it from Home Assistant with this media player</flag>
<flag name="pcal9535a">pcal9535a integration is the base for all related pcal9535a platforms</flag>
<flag name="peco">provides electricity outage data from PECO Philadelphia power company</flag>
<flag name="pencom">Pencom is a computer-controlled relay, I/O and custom boards</flag>
<flag name="philips_js">allows you to control Philips TVs which expose the jointSPACE JSON-API</flag>
<flag name="pi4ioe5v9xxxx">support for the quasi-bidirectional devices pi4ioe5v9xxxx I2C I/O port expander</flag>
<flag name="picnic">get information from Picnic about orders, deliveries and cart content</flag>
<flag name="piglow">control the Piglow lights on your Raspberry Pi from within Home Assistant</flag>
<flag name="pilight">Pilight is a open source solution to communicate with 433 MHz devices</flag>
<flag name="ping">use the great ICMPLib for Presence Detection and as a binary Sensor</flag>
<flag name="pi_hole">retrieve statistics and interact with a Pi-hole system</flag>
<flag name="pjlink">control projectors with support for the PJLink protocol from Home Assistant</flag>
<flag name="plaato">sets up integration with Plaato Airlock and Keg</flag>
<flag name="plex">Python bindings for the Plex API</flag>
<flag name="plugwise">Plugwise_Smile (Anna/Adam/P1/Stretch) API to use in conjunction with Home Assist</flag>
<flag name="plum_lightpad">A python package that interacts with the Plum Lightpad</flag>
<flag name="pocketcasts">monitor unplayed episodes you have of your favorite podcasts at Pocket Casts</flag>
<flag name="point">Point hub enables integration with the Minut Point</flag>
<flag name="poolsense">PoolSense is a smart pool monitor</flag>
<flag name="powerwall">API for Tesla Powerwall</flag>
<flag name="profiler">Help visualize profiling data from cProfile with kcachegrind and qcachegrind</flag>
<flag name="progettihwsw">brings the automation experience with ProgettiHWSW boards</flag>
<flag name="proliphix">control Proliphix thermostat from Home Assistant</flag>
<flag name="prometheus">The prometheus integration exposes metrics in a format which Prometheus can read</flag>
<flag name="prosegur">Prosegur Smart Alarms (Cloud Polling)</flag>
<flag name="proxmoxve">poll data from Proxmox VE virtualization environment</flag>
<flag name="proxy">pass another cameras output through post-processing routines</flag>
<flag name="prusalink">PrusaLink integration allows you to monitor your Prusa 3D printer</flag>
<flag name="ps4">allows you to control a Sony PlayStation 4 console</flag>
<flag name="pulseaudio_loopback">whole home audio system based upon PulseAudio</flag>
<flag name="pure_energie">integrates the Pure Energie Monitor device with Home Assistant</flag>
<flag name="purpleair">PurpleAir makes sensors that measure hyper-local air quality data</flag>
<flag name="pushbullet">sensor platform reads messages from Pushbullet</flag>
<flag name="pushover">allows integrations to send messages to the user using Pushover</flag>
<flag name="pvoutput">The PVOutput integration</flag>
<flag name="pvpc_hourly_pricing">hourly price of electricity in Spain from PVPC</flag>
<flag name="python_script">write Python scripts that are exposed as services in Home Assistant</flag>
<flag name="qbittorrent">monitor your downloads with qBittorrent from within Home Assistant</flag>
<flag name="qingping">Integrates Qingping devices into Home Assistant</flag>
<flag name="qld_bushfire">GeoRSS feed containing bushfire alerts for Queensland</flag>
<flag name="qnap">Python API for obtaining QNAP NAS system stats</flag>
<flag name="qnap_qsw">This integration interacts with the local API of QNAP QSW managed switches</flag>
<flag name="qrcode">enables QR code recognition from cameras</flag>
<flag name="quantum_gateway">device tracker platform for Verizon Fios</flag>
<flag name="qvr_pro">QVR Pro allows you to connect to cams configured on your QNAP NAS</flag>
<flag name="qwikswitch">the main integration to integrate various QwikSwitch devices with Home Assistant</flag>
<flag name="rachio">The rachio platform allows you to control your Rachio irrigation system</flag>
<flag name="radiotherm">control a thermostat from Radio Thermostat or 3M Filtrete</flag>
<flag name="radio_browser">use the directory of radio stations collected on Radio Browser in Home Assistant</flag>
<flag name="rainbird">allows interacting with LNK WiFi module of the Rain Bird Irrigation system</flag>
<flag name="raincloud">allows you to integrate your Melnor RainCloud sprinkler system in Home Assistant</flag>
<flag name="rainforest_eagle">platform for Rainforest Automations Eagle-200 and Legacy Eagle energy gateways</flag>
<flag name="rainmachine">integrate all platforms related to RainMachine smart Wi-Fi sprinkler controllers</flag>
<flag name="raspihats">The base for all related Raspihats platforms in Home Assistant</flag>
<flag name="raspyrfm">adds support for cheap RC 433 MHz outlets via one of the supported gateways</flag>
<flag name="rdw">looks up any dutch registered vehicle by its license plate</flag>
<flag name="recollect_waste">track the next scheduled waste pickup and what type of waste from Recollect</flag>
<flag name="recorder">storing details in a database per sqlalchemy</flag>
<flag name="recswitch">allows you to control the Ankuoo REC Switch devices from Home Assistant</flag>
<flag name="reddit">integrates data from Reddit to monitor your favorite subreddits</flag>
<flag name="rejseplanen">travel details for Danish public transport</flag>
<flag name="remember_the_milk">create tasks in Remember The Milk (RTM) (deprecated)</flag>
<flag name="remote_rpi_gpio">base for all related GPIO platforms in Home Assistant</flag>
<flag name="renault">integration with the MyRenault cloud service</flag>
<flag name="reolink">The integration allows you to control Reolink NVRs or cameras</flag>
<flag name="repetier">Repetier-Server is a 3D printer/CNC server, able to control multiple devices</flag>
<flag name="rest">rest sensor platform for data exposed by a RESTful API</flag>
<flag name="rflink">The rflink integration supports devices that use RFLink gateway firmware</flag>
<flag name="rfxtrx">supports RFXtrx 433 MHz devices by RFXCOM</flag>
<flag name="ridwell">allows users to track waste recycling pickups scheduled with Ridwell</flag>
<flag name="ring">integrate your ring.com devices</flag>
<flag name="ripple">The ripple sensor platform displays Ripple wallet balances from Ripple.com</flag>
<flag name="risco">This integration connects with Risco Alarms over Risco Cloud</flag>
<flag name="rituals_perfume_genie">monitor your Rituals perfume diffusers</flag>
<flag name="rmvtransport">departure time of bus, tram, subway, train in Rhein-Main area public transport</flag>
<flag name="rocketchat">allows you to send messages to your Rocket.Chat instance from Home Assistant</flag>
<flag name="roku">add support for Roku players</flag>
<flag name="roomba">control a iRobot Roomba vacuum or iRobot Braava m-series mop</flag>
<flag name="roon">allows you to control RoonLabs music players</flag>
<flag name="route53">keep your AWS Route53 DNS records up to date</flag>
<flag name="rova">uses an unofficial ROVA API to allow you to get your waste collection schedule</flag>
<flag name="rpi_gpio">The rpi_gpio integration is the base for all GPIO platforms in Home Assistant</flag>
<flag name="rpi_gpio_pwm">connect pigpio-daemon on an Raspberry Pi</flag>
<flag name="rpi_pfio">base for all related PiFace Digital I/O (PFIO) platforms in Home Assistant</flag>
<flag name="rpi_power">monitor your Raspis Power Supply</flag>
<flag name="rpi_rf">control devices over 433/315MHz LPD/SRD signals on a RPi</flag>
<flag name="rtsp_to_webrtc">provide WebRTC live streams for any RTSP camera</flag>
<flag name="ruckus_unleashed">Python API to interact with a Ruckus Unleashed device</flag>
<flag name="russound_rio">control Russound devices that make use of the RIO protocol</flag>
<flag name="russound_rnet">control Russound devices that make use of the RNET protocol</flag>
<flag name="ruuvitag_ble">Integrates Ruuvis RuuviTag BLE devices into Home Assistant</flag>
<flag name="ruuvi_gateway">Integrates Ruuvi Gateway devices as polling BLE remote scanners via the /history</flag>
<flag name="rympro">connects with a Read Your Meter Pro account to get water meter reads into HA</flag>
<flag name="sabnzbd">monitor and control your downloads with SABnzbd from within Home Assistant</flag>
<flag name="saj">poll a SAJ solar inverter and present the values as sensors</flag>
<flag name="samsungtv">Support for Samsung TV Sets</flag>
<flag name="satel_integra">Satel Integra alarm panel to leverage</flag>
<flag name="schluter">integrate your Schluter-DITRA-HEAT-E-WiFi electric floor heating thermostat</flag>
<flag name="scrape">scraping information from websites</flag>
<flag name="screenlogic">allows you to integrate your Pentair IntelliTouch or EasyTouch pool controller</flag>
<flag name="scsgate">allows to interact with the MyHome system from BTicino/Legrande</flag>
<flag name="season">display astronomical or meteorological season (Spring, Summer, Autumn, Winter)</flag>
<flag name="sendgrid">Notification platform sends email notifications via SendGrid</flag>
<flag name="sense">Integrate your Sense meter information into Home Assistant</flag>
<flag name="sensehat">lets you control the Sense HAT boards 8x8 RGB LED matrix on your Raspberry Pi</flag>
<flag name="senseme">Integrates SenseME devices into Home Assistant</flag>
<flag name="sensibo">Integrates Sensibo Air Conditioning controller into Home Assistant</flag>
<flag name="sensirion_ble">Integrates sensors talking Sensirions BLE protocol into Home Assistant</flag>
<flag name="sensorpro">Integrates SensorPro devices into Home Assistant</flag>
<flag name="sensorpush">Integrates SensorPush devices into Home Assistant</flag>
<flag name="sentry">The free Sentry account allows 5000 events per month</flag>
<flag name="senz">allows you to control and monitor your nVent RAYCHEM SENZ-WIFI thermostats</flag>
<flag name="serial">use data provided by a device connected to the serial port of the system</flag>
<flag name="serial_pm">Particulate matter sensors measure the amount of very small particles in the air</flag>
<flag name="sesame">allows you to control your Sesame smart locks made by CANDY HOUSE, Inc.</flag>
<flag name="seventeentrack">get package data tied to their 17track.net account</flag>
<flag name="seven_segments">allows you to read physical seven segments displays</flag>
<flag name="sharkiq">The sharkiq integration allows you to control your Shark IQ vacuum</flag>
<flag name="shelly">Shelly devices</flag>
<flag name="shiftr">transfer details collected with Home Assistant to Shiftr.io</flag>
<flag name="shodan">Shodan is a search engine for Internet-connected devices</flag>
<flag name="sht31">allows you to get the current temperature and humidity from a Sensirion SHT31</flag>
<flag name="sia">provides integration with several alarm systems that implement the SIA Protocol</flag>
<flag name="sighthound">Detect people in camera images using Sighthound Cloud</flag>
<flag name="signal_messenger">add Support for Moxie's Signal API</flag>
<flag name="simplepush">deliver notifications from Home Assistant to your Android device</flag>
<flag name="simplisafe">integrates SimpliSafe home security (V2 and V3) systems</flag>
<flag name="sinch">The sinch platform uses Sinch to deliver notifications from Home Assistant</flag>
<flag name="sisyphus">allows you to observe and control your Sisyphus Kinetic Art Table</flag>
<flag name="skybeacon">supports CR2477-powered iBeacon/eddystone sensors</flag>
<flag name="skybell">integrate your Skybell.com doorbells</flag>
<flag name="sky_hub">presence detection at connected devices to a Sky Hub router based router</flag>
<flag name="slack">The slack platform delivers notifications from Home Assistant to Slack</flag>
<flag name="sleepiq">lets you view sensor data from SleepIQ by SleepNumber</flag>
<flag name="slide">integrate your slide.store devices in Home Assistant using the official API</flag>
<flag name="slimproto">allows you to control a Squeezebox music player directly from Home Assistant</flag>
<flag name="sma">add Support for SMA Solar WebConnect</flag>
<flag name="smappee">integrate Smappee monitors, plugs and switches</flag>
<flag name="smarthab">control your lights and shutters with the SmartHab integration</flag>
<flag name="smartthings">use the SmartThings Cloud API</flag>
<flag name="smarttub"> control hot tubs which use the SmartTub system</flag>
<flag name="smarty"> lets you control Salda Smarty ventilation units from Home Assistant</flag>
<flag name="smart_meter_texas">allows Texas residents to integrate their electric meters into Home Assistant</flag>
<flag name="smhi">support for the SMHI.se web service as a source for meteorological data</flag>
<flag name="sms">allows having a local execution SMS notification via Gammu</flag>
<flag name="snapcast">The snapcast platform allows you to control Snapcast from Home Assistant</flag>
<flag name="snmp">Presence Detection, Sensor, Switch via SNMP</flag>
<flag name="snooz">Integrates SNOOZ devices into Home Assistant</flag>
<flag name="socat">Set a flag to install socat and socat-zwave startscript</flag>
<flag name="solaredge">details from your SolarEdge solar power setup</flag>
<flag name="solaredge_local">uses the local API available on some SolarEdge Inverters</flag>
<flag name="solarlog">uses the open JSON interface on Solar-Log PV monitoring systems</flag>
<flag name="solax">Solax inverter API client</flag>
<flag name="soma">integrate their Soma Smarthome devices into Home Assistant</flag>
<flag name="somfy">Somfy devices via their online service</flag>
<flag name="somfy_mylink">an interface to a compatible Somfy MyLink hub utilizing the Synergy API</flag>
<flag name="sonarr">The Sonarr integration pulls data from a given Sonarr instance</flag>
<flag name="songpal">control Sonys Songpal (”Audio Control API”) compatible devices</flag>
<flag name="sonos">Sonos Media Player Support</flag>
<flag name="sony_projector">allows you to control the state of SDCP compatible network-connected projectors</flag>
<flag name="soundtouch">control your Bose Soundtouch speakers from Home Assistant</flag>
<flag name="spc">integrate your Vanderbilt SPC alarm panel and any connected sensors</flag>
<flag name="speedtestdotnet">speedtest.net support</flag>
<flag name="spider">integrate all Itho Daalderop Spider related platforms</flag>
<flag name="splunk">log all state changes to an external Splunk database</flag>
<flag name="spotify">Spotify media player integration allows you to control Spotify playback</flag>
<flag name="sql">enables you to use an SQL database supported by the sqlalchemy library</flag>
<flag name="squeezebox">library to control Logitech Media Server</flag>
<flag name="srp_energy">SRP Energy integration hourly energy usage report</flag>
<flag name="ssdp">will scan the network for supported devices and services (Upnp)</flag>
<flag name="ssl">include support for haproxy</flag>
<flag name="starline">retrieve data of your StarLine security system from the StarLine portal</flag>
<flag name="starlingbank">monitor your account balance data as sensors</flag>
<flag name="startca">Integrate your Start.ca account information into Home Assistant</flag>
<flag name="statsd">transfer all state changes to an external StatsD instance</flag>
<flag name="steamist">monitor the state of your Steamist steam shower</flag>
<flag name="steam_online">allows you to track the online status of public Steam accounts</flag>
<flag name="stiebel_eltron">integral ventilation or heat pump units of STIEBEL ELTRON</flag>
<flag name="stookalert">queries the RIVM Stookalert API for unfavorable weather conditions</flag>
<flag name="stookwijzer">queries the Stookwijzer API for windspeed and gets the air quality index</flag>
<flag name="stream">provides a way to proxy live streams through Home Assistant</flag>
<flag name="streamlabswater">interact with StreamLabs water monitoring devices</flag>
<flag name="subaru">MySubaru connected vehicle services</flag>
<flag name="suez_water">consumption of water from the French water provider Tout Sur Mon Eau</flag>
<flag name="supla">Supla is an Open Source home automation system for ESP8266 based devices</flag>
<flag name="surepetcare">information on your Sure Petcare Connect Pet or Cat Flap</flag>
<flag name="swiss_hydrological_data">details (temperature, level, and discharge) of rivers and lakes in Switzerland</flag>
<flag name="swiss_public_transport">give you the next three SBB departure times from a given location</flag>
<flag name="switchbee">library to control SwitchBee smart home devices</flag>
<flag name="switchbot">allows you to control SwitchBot devices from Home Assistant</flag>
<flag name="switcher_kis">allows you to control the Switcher V2 Water Heater</flag>
<flag name="switchmate">allows you to control Switchmate devices from Home Assistant</flag>
<flag name="syncthing">allows you to monitor states of your synced folders from Syncthing</flag>
<flag name="syncthru">allows you to read current data from your local Samsung printer</flag>
<flag name="synology_dsm">monitor getting various statistics from your Synology NAS</flag>
<flag name="synology_srm">detect presence by looking at connected devices to a Synology SRM router</flag>
<flag name="systemd">internal and developer use</flag>
<flag name="systemmonitor">Allows you to monitor disk usage, memory usage, CPU usage, and running processes</flag>
<flag name="system_bridge">System Bridge runs on your local machine to share system information via its AP</flag>
<flag name="tado">an interface to the my.tado.com website</flag>
<flag name="tahoma">interface to the tahomalink.com website. It adds covers, scenes and a sun sensor</flag>
<flag name="tailscale">monitor and automate on the state of the devices in your Tailscale VPN</flag>
<flag name="tankerkoenig">monitor the fuel prices with tankerkoenig.de</flag>
<flag name="tank_utility">Add Tank Utility propane tank monitors to Home Assistant</flag>
<flag name="tapsaff">provides the Taps Aff status for a given location within the UK</flag>
<flag name="tasmota">Python module to help parse and construct Tasmota MQTT messages</flag>
<flag name="tautulli">The tautulli sensor platform will monitor activity on a given Tautulli Server</flag>
<flag name="ted5000">monitors electricity consumption/production by connecting to the TED gateway</flag>
<flag name="telegram_bot">Use Telegram on your mobile or desktop device to send and receive messages</flag>
<flag name="tellduslive">cloud platform that connects to your Tellstick</flag>
<flag name="tellstick">integrates TellStick devices into Home Assistant</flag>
<flag name="temper">get the current temperature from a TEMPer device</flag>
<flag name="tesla">integration with the Tesla cloud service</flag>
<flag name="tesla_wall_connector">allows you to integrate your Gen 3 Tesla Wall Connector with Wi-Fi</flag>
<flag name="test">internal and developer use</flag>
<flag name="tfiac">integrates several vendors air conditioning systems into Home Assistant</flag>
<flag name="thermobeacon">Integrates ThermoBeacon devices into Home Assistant</flag>
<flag name="thermopro">Integrates ThermoPro devices into Home Assistant</flag>
<flag name="thermoworks_smoke">pulls data for your ThermoWorks Smoke Thermometer</flag>
<flag name="thingspeak">makes Home Assistant communicate with the ThingSpeak API</flag>
<flag name="thinkingcleaner">displays information about your Thinking Cleaner add-on</flag>
<flag name="tibber">a sensor with the current electricity price</flag>
<flag name="tikteck">Support for the Bluetooth smart bulb from Tikteck</flag>
<flag name="tile">API for Tile Bluetooth trackers</flag>
<flag name="tilt_ble">Integrates Tilt Hydrometer BLE devices into Home Assistant</flag>
<flag name="tmb">Library that interacts with TMB API</flag>
<flag name="todoist">connect to your Todoist Projects and generate binary sensors</flag>
<flag name="tof">uses an invisible laser to measure distance with millimeter resolution</flag>
<flag name="tolo">allows you to control your TOLO Sauna and TOLO Steam Bath</flag>
<flag name="tomorrowio">obtain weather, air quality, pollen, and fire information fro tomorrow.io</flag>
<flag name="toon">client for the Quby ToonAPI</flag>
<flag name="totalconnect">provides connectivity with the Honeywell TotalConnect alarm systems</flag>
<flag name="touchline">lets you control ROTH Touchline floor heating thermostats</flag>
<flag name="tplink">control your TP-Link Smart Home Devices</flag>
<flag name="tplink_lte">allows you to observe and control TP-Link LTE routers</flag>
<flag name="tplink_omada">allows you to control your TP-Link Omada SDN Devices</flag>
<flag name="traccar">uses GPS for tracking and has support for over 1500 different types of devices</flag>
<flag name="trackr">trackr platform allows you to detect presence using TrackR devices</flag>
<flag name="tractive">Tractive is an Austrian company develops real-time location trackers for pets</flag>
<flag name="tradfri">Control/observe IKEA Tradfri devices</flag>
<flag name="trafikverket_ferry">Retrieve ferry departure information from Trafikverket</flag>
<flag name="trafikverket_train">Retrieve train departure information from Trafikverket</flag>
<flag name="trafikverket_weatherstation">weather information provided by Trafikverket weather stations in Sweden</flag>
<flag name="transmission">transmission integration allows you to monitor your downloads with Transmission</flag>
<flag name="transport_nsw">gets next departure from Transport NSW stop for bus, train, light rail or ferry</flag>
<flag name="travisci">integrate the test build results reported by Travis-CI working</flag>
<flag name="trend">sensors which show the trend of numeric state orstate_attributes</flag>
<flag name="tts">Audio metadata tag reader and writer implemented in pure Python</flag>
<flag name="tuya">integrate all Tuya Smart related platforms</flag>
<flag name="twentemilieu">allows you to track the next scheduled waste pickups by Twente Milieu</flag>
<flag name="twilio">enables the sending of notifications via SMS and the creation of calls</flag>
<flag name="twinkly">control Twinkly LED string from Home Assistant</flag>
<flag name="twitch">monitor Twitch channel status from within Home Assistant</flag>
<flag name="twitter">notification platform uses Twitter to deliver notifications from Home Assistant</flag>
<flag name="ubus">a presence detection scanner for OpenWrt using ubus</flag>
<flag name="ukraine_alarm">uses the Ukraine Alarm web service to offer air-raid siren notifications</flag>
<flag name="unifi">talk with a Ubiquiti unifi Controller</flag>
<flag name="unifiled">control lights from a UniFi LED by Ubiquiti Networks controller</flag>
<flag name="unifiprotect">Camera feeds and Sensor data from a UniFi Protect application</flag>
<flag name="unifi_direct">detect presence by looking at devices connected to a UniFi AP</flag>
<flag name="upb">Library for interacting with UPB PIM</flag>
<flag name="upcloud">allows you to access the information about your UpCloud servers</flag>
<flag name="upc_connect">presence detection by looking at a Connect Box</flag>
<flag name="upnp">support UPnP/Internet Gateway Device (IGD) Protocol</flag>
<flag name="uptimerobot">provides binary sensors from your monitors from Uptime Robot</flag>
<flag name="usb">USB Discovery integration will watch the host for USB devices</flag>
<flag name="uscis">updates on your USCIS case using your case/receipt number</flag>
<flag name="usgs_earthquakes_feed">a GeoJSON feed provided by the U.S. Geological Survey</flag>
<flag name="utility_meter">integration provides functionality to track consumptions of various utilities</flag>
<flag name="uvc">allows you to integrate UniFi Video Camera (UVC) into Home Assistant</flag>
<flag name="vallox">control any Vallox ventilation unit</flag>
<flag name="vasttrafik">traveling details for the larger Göteborg area in Sweden from the Västtrafik</flag>
<flag name="velbus">supports the Velbus USB, serial and TCP/IP gateway</flag>
<flag name="velux">allows you to connect to a Velux KLF 200 interface</flag>
<flag name="venstar">allows you to control Venstar thermostats from Home Assistant</flag>
<flag name="vera">add support for Vera Z-Wave Controller</flag>
<flag name="verisure">Home Assistant has support to integrate your Verisure devices</flag>
<flag name="versasense">The VersaSense integration supports the VersaSense Edge Gateway</flag>
<flag name="version">display the current Home Assistant versions</flag>
<flag name="vesync">control smart switches and outlets connected to the VeSync App</flag>
<flag name="vicare">communicate with the Viessmann ViCare API</flag>
<flag name="vilfo">integration allows you to observe the state of your Vilfo Router</flag>
<flag name="vivotek">camera platform allows you to integrate a VIVOTEK IP camera</flag>
<flag name="vizio">allows you to control SmartCast-compatible TVs</flag>
<flag name="vlc">The vlc platform allows you to control VLC media player</flag>
<flag name="vlc_telnet">Control VLC via it's telnet interface</flag>
<flag name="volkszaehler">consuming the system information provided by the Volkszaehler API</flag>
<flag name="volumio">allows you to control a Volumio media player</flag>
<flag name="volvooncall">offers presence detection as well as sensors such as odometer and fuel leve</flag>
<flag name="vulcan">The Uonet+ Vulcan integration allows you to view timetable from your e-register</flag>
<flag name="vultr">access information about and interact with your Vultr subscriptions</flag>
<flag name="w800rf32">supports W800RF32 devices by WGL Designs</flag>
<flag name="wake_on_lan">enables the ability to send magic packets to Wake on LAN capable devices</flag>
<flag name="wallbox">pulls data from the MyWallbox Portal for your Wallbox charging station</flag>
<flag name="waqi">will query World Air Quality Index service</flag>
<flag name="waterfurnace">Python interface for waterfurnace geothermal systems</flag>
<flag name="watson_iot">link Home Assistant with an IBM Watson IoT Platform instance</flag>
<flag name="watson_tts">text-to-speech platform that works with IBM Watson Cloud</flag>
<flag name="watttime">Cloud based Climate Trace Service</flag>
<flag name="waze_travel_time">waze_travel_time sensor provides travel time from the Waze</flag>
<flag name="webostv">allows you to control a LG webOS Smart TV</flag>
<flag name="wemo">discover and control WeMo devices</flag>
<flag name="whirlpool">integrates Whirlpool 6th Sense Live appliances</flag>
<flag name="whois">perform daily WHOIS lookups</flag>
<flag name="wiffi">allows you to connect your STALL WIFFI devices directly</flag>
<flag name="wilight">The wilight integration is to integrate WiLight devices with Home Assistant</flag>
<flag name="wink">support for Wink Z-Wave Plus Smart Hub</flag>
<flag name="wirelesstag">integrate your wirelesstag.net sensors tags</flag>
<flag name="withings">add support for Withings Health API</flag>
<flag name="wiz">allows you to control your WiZ lights and smart sockets</flag>
<flag name="wled">add support for Aircookie's WLED</flag>
<flag name="wolflink">uses the Wolf Smart-Set for your heating system status</flag>
<flag name="workday">generating country, province and state specific sets of holidays on the fly</flag>
<flag name="ws66i">Control the Soundavo Whole-Home Audio Amplifier via local network</flag>
<flag name="xbox">A library to authenticate with Windows Live/Xbox Live and use their API</flag>
<flag name="xbox_live">track Xbox profiles</flag>
<flag name="xeoma">Python wrapper for Xeoma web server API</flag>
<flag name="xiaomi_aqara">allows you to integrate Xiaomi Aqara-compatible devices</flag>
<flag name="xiaomi_ble">Integrates devices that implement the Xiaomi Mijia BLE MiBeacon protocol</flag>
<flag name="xiaomi_miio">add support for Xiaomi smart appliances</flag>
<flag name="xiaomi_tv">The xiaomi_tv platform allows you to control a Xiaomi TV</flag>
<flag name="xmpp">Python 3 library for XMPP</flag>
<flag name="xs1">get and set values of the EZcontrol XS1 Gateway</flag>
<flag name="yalexs_ble">Integrates Yale Access Bluetooth devices into Home Assistant</flag>
<flag name="yale_smart_alarm">Yale Smart Alarm systems and Smart Hub through Yales API</flag>
<flag name="yamaha">Library for Yamaha RX-* Receivers</flag>
<flag name="yamaha_musiccast">add support for Yamaha MusicCast devices</flag>
<flag name="yandex_transport">will give you the time until the next departure time from a bus/tramway/etc stop</flag>
<flag name="yeelight">allows you to control your Yeelight Wifi bulbs</flag>
<flag name="yeelightsunflower">allows you to control your Yeelight Sunflower light bulbs</flag>
<flag name="yi">allows you to utilize Yi Home Cameras within Home Assistant</flag>
<flag name="yolink">Integrates YoLink Devices into Home Assistant</flag>
<flag name="youless">allows you to read the meter values from sensors created by YouLess</flag>
<flag name="zabbix">integration to connect to a Zabbix monitoring instance via the Zabbix API</flag>
<flag name="zamg">meteorological details published by the Austrian weather service</flag>
<flag name="zengge">Python API for controlling Zengge LED bulbs</flag>
<flag name="zeroconf">will scan the network for supported devices and services</flag>
<flag name="zerproc">discovers nearby Zerproc lights</flag>
<flag name="zestimate">track the Zestimate® value of properties using the Zillow API</flag>
<flag name="zeversolar">Zeversolar integration using local API</flag>
<flag name="zha">Support for ZHA/deconz based Zigbee/ZNet Devices</flag>
<flag name="zhong_hong">lets you control Zhonghong HVAC Gateway Controller thermostats</flag>
<flag name="ziggo_mediabox_xl">allows you to control a Ziggo Mediabox XL</flag>
<flag name="zoneminder">Support for ZoneMinder Cameras</flag>
<flag name="zwave">Support for Z-Wave Devices (uncomplete)</flag>
<flag name="zwave_js">control a Z-Wave network via the Z-Wave JS driver</flag>
<flag name="zwave_me">allows you to control a Z-Wave network via the Z-Wave.Me Z-Way</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,26 @@
AUX hasstest 72 BLAKE2B 219dc5045193bbbf18f91d37d90072304c3f9937ac55337b692fcb03adea8e3fc63b3852b928d40b13162172d22f712feedb088d3d9b54c9b199a01c7446c865 SHA512 57491109c03926f0ab0a1cd3f55da0faac1afafc0ba405b4244652376d4da943227c17b1bf6b136dea151649cf02caf51d9aa49581addffc8ccf4c80d3c43c9c
AUX homeassistant.conf.d 289 BLAKE2B f4a85e5a451a254a8ef39ae481275eb93b52df645d5b5c5801fee30aa548b9ccc0eacc9fb5256793d819dabe7b53f6ff5809798d0cf771464d56aae5a58332d2 SHA512 db860c0c66d0ea66eae08e62befc07d06ccea37a2ab89280328faa54ef6cc0623a65257e7806c72b1afe608e502566ca4ee8ac7de3547705ee6394184b5da110
AUX homeassistant.init.d 1032 BLAKE2B 5ca9e2232a35ddfd4279fd9537a112f9edd59edce7468f7054e6d049f4d3a60d4ef82d74092eec1d7067bf0d27579acf6e1b19f77b9f0dca26126dd59bb76838 SHA512 0ce07ebf1bba1df4772def0c6eba126dd8a8347208d15fbe1cac774f62dd100e172f0d8d5d26f9dda7352f36a5191e1b771af7f44fcbf16d365d5595451b44fb
AUX homeassistant.logrotate 185 BLAKE2B 95f6a0681f2ee9da195052a19e7a420aef5f99f601cf1b30c895c50a846364bd86764d4e2a550f5171374e43a2197f366d4b7b263333049445ee45c998046582 SHA512 fc99afd4bcec3785e3387e368040688e46b02093100e9c8b5b6c11bd4566b39adf73da2b8470427ba6a9193335979ee78e8667caf227d23b31b7b50ffb9f63d6
AUX homeassistant.service 295 BLAKE2B d6989960404ed89f1888e0776a622b8b1800c39353f458d38af2364f1cc6a93c249155c291633792666e12c5235d8d43e9ce933a1e8958ea3fa948f74ebdf716 SHA512 c2c7349e3eda8a0bf85543697e37d0038e7c89ebdbaa22104dfc26f56d408d1c843c2aaa0c935359ab0ba27e7e3529a48a5487bf5c3377e37d47b0cbececa3ec
AUX maxcube_TypeError_01114_dirty_hack.patch 2264 BLAKE2B d4287d558066962e331e91839ac9008bdaa3b41bfccd634d79479b3d35716e2defedfa311d06143fd2d97a253965dd3b78a9b8097d9ed961a0616fbebbc3761c SHA512 3b7264dd59df521bcc2b3a3e449960d59eb85c9a91fafbe022d63f5e5c3308a17e3f171a33dcef116bf9fe0ccd4302a5357e5bf92a72870ceddd1f306c2be29c
AUX maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec2048796d705dd3958cf89b28e744089a51531c967c5c54f3deb9c0a39ba68d93e062550c0af44eedf464922ee55435cb01ceac SHA512 1c7a2c45a7eefe6e6cb1b9354e94a0fe0afcfa09f519f6d6237359f67545a438cccf53121850ebf5258519d0adeb3e653159d41f5aea398e5c8f7a8ed07081a5
AUX recorder.yaml 114 BLAKE2B af04840805aa13124208584e7f1d40335905a083ee7deead5c0e4324c969f2a231c801c23e42075782950aba7535496d92747bf03efd73a80b0d07e8492d18f6 SHA512 cb4e353e54fb6dc7034569b8d62ddcdca92680c23c2c4e1ce707d21cf95e93f41a0c44521d8c3ee90b68c830f6b8e65dab82ae64bfa09727ae384550f7de0c94
AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63feabc8603ecc51ec16e0a4775e0c7da83d12d1ef0c9815c9ebf8ec8a86a678bb4a3b40decb04adc887f26 SHA512 2b13cd4175427853d5a4169cc7d441d62618e8136e4f5d9fd24d08a47f6916953ebd1e747ea9c7a0907b00766c7b2108ba3b8917178fd9a795da23e6525a0faf
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-2023.2.5.gh.tar.gz 18210750 BLAKE2B 326d12c4d279f908674f25388b059f557dd13c411a055f7f5d4cb7dba72a2cf381d2c8ac40bf018aced3cc278208f343bdc246c5aff6a570443b49720dc18a51 SHA512 1d7c0559b9735e97fd030089d5af54d8c694602c0d2f6696066b9f216c4cc66de561c509b6ac5538cd3ca911ddce59e53c98a1c6cd779a7d3b4ceea9ed286493
DIST homeassistant-2023.2.5.tar.gz 12099705 BLAKE2B 009dc9b17de0166dd0cc890583b989ba3fbb8f4df21ae5ac520a94fd833401c07af56eedfbf32fbdb77d7a505629b0f1d967a29c6cf4cfbcd19c1a5359a52ffb SHA512 6e1702e93041e0f6bd71498d5137530c4a7bdd2eea020a1f84da5b0d825af6a052371b70e81798b7022c33e0af9f25760b5bf6f7a6a7a5d8c4d4d9c8fd14d0d7
DIST homeassistant-2023.3.6.gh.tar.gz 13678015 BLAKE2B 3208e8de6532973a8ed0c1fded9aecb2aa4e68f9a5a30767466240077b911b8000340f710081ee96c4f6f4fe0baa213b1562f8d06320ad9f4b387cc671e4f79d SHA512 9ed69757a2a81f0ce3b6ff271bee429ecc1a0fa14a75b981ec234320efad8d596e38cf1d7ad7c95ed74f53f3b82edba290bb9fcf8eb7489a707309fd70e9e151
DIST homeassistant-2023.3.6.tar.gz 12559122 BLAKE2B 6d5eddd724039754607eb0f798147973be18748fc0c608ba5b473d503be3f8179b8070139af62b4484b238f17ca32c481a25604f33d3d6044db31ba3ffb718d9 SHA512 ddd9b218abd6c986163c849b3552204ca5fc7a1a9b448b68e2116f0cb106c1f439dca7f8e8e3dc8316f38fb4512280d409d2793529e9321405766de097e77c6e
DIST homeassistant-2023.4.4.gh.tar.gz 13866710 BLAKE2B c48209cc8377059a662ec4284e81c4a7886e586e180c8a9e943f7d47dae9cc0f0bb14de79a32c75b913bd2abe0fa026dce4aa5cf513f8efa588c630bfe76fa68 SHA512 686fb4c869d18c4e4065fe45de060be4cc037bad35d6fbfdf8304138e6e5af67f3da9fc18515310bd420a1dac60f4d52cd2779065d3f0b1cfd858456a13299d0
DIST homeassistant-2023.4.4.tar.gz 12889752 BLAKE2B f25ab36bbe75a19349801c1c7bb39fc1dda7c7612d64bee7c65f45721e9dcc1ff8431f2ff79d2fbdcfb0715d1d065e7b131b6a731ffe3d0853c8eb21430dc32b SHA512 70a7fa3e1d872bc57b77fc2e380274d080e9bbcf745c7626881928dc4f79844afa8fb71c0611186f3d6a0a047080fcacce2e944730166200bea7f0a3bae7a188
DIST homeassistant-2023.4.6.gh.tar.gz 13871472 BLAKE2B 1ae4d3d2826d194ae8a8d91132b410647159887e97c1273d615d56fe1d435ed6373b2ec4bef04c53d85bb6a9c91318aaa4db2f2b2b48cfae51b9ce990930afc6 SHA512 c8a4ef2e8a1f02a588e1bc5f6bd9281118c3b2edff4c3c13a1045fa733ca2195b7bbcf371aa3df57cc6d4e4a631944a6e360ee6a61add5de104a2a0e0f023fbd
DIST homeassistant-2023.4.6.tar.gz 12994366 BLAKE2B 68915d12ddce0aed48d5f21b64dd4581afe35db5028f165d7317216c445f7c88ae7f46138566358f1753f6411895b47915f51c676fce47adbcdc0ad3fcd090c7 SHA512 9433ac0f3d2f1309269e07a94060b758a059db8dd5ca8e14dcb0b986155f47863959c3be03eaa2c5984458fc1b4d4303ec155b7a298f5a910c181ec1489859ad
EBUILD homeassistant-min-2023.2.5.ebuild 16228 BLAKE2B cd99d72ccd12d64466cd468a5482dde1e01b53ccc1bc7bbaec85fc4b549d9e467371b1b60abcf51324068763be1e56a455cb4d0c2cb4d0fd227036eaf41a07d8 SHA512 d22376499a257fece1e07d61dcbf88dd1571ee12ef02a925bc594b449e01ba5b1bb112f158bfe82aabf4acb69be0f62d5d0124fd5ab1324dfbfc9cf9f8d94b99
EBUILD homeassistant-min-2023.3.6-r1.ebuild 16475 BLAKE2B a1604deb8b83a2e2d141cd9977acbf04d6dd8a2687fb0479fe1be2a8979561074bf4d1168b883e00e00dd5b9b8a761524223b88997e73a7174571a0e73097124 SHA512 b3681fdc1e8797f575a6a8e74a92160fca4368e95b2df68e547e6bda7b3fac81f0df4e5be21af831111196dbb912dd39bc82faeeaad847485013bb67b634391e
EBUILD homeassistant-min-2023.3.6.ebuild 16323 BLAKE2B a3cc25924e48a88e88f6c3a7601dbecde95bc2afa864c51376402eab0f11c38c9accf3793e4ffccd117e6ef542b49d2e91700e9e4647211a6c95f45891d7069c SHA512 3ccd49da339548d3b2746e641caef88b59a9f43db1476b2316debfa90f29550193c3e48151d2c2ff79e2a35bdbc2fada438a0a672d4f7c1c2876d57258ba864f
EBUILD homeassistant-min-2023.4.4-r1.ebuild 16668 BLAKE2B 565542ef34ab67cdb641b4262e0630e9065f0452745d2e732cb9eeab6b47d16121e3a5681b7cd3dd532704427e827cff4f119ac5ebac4f6b286f3c8c302c2fcd SHA512 f665feb8c61cdc9e42a3836172c28a33a62462b128fdc5657b8f9fc00881290d3d850586ca9e88cd595644cb606773215c9fa2037005da4c0d7f3385901acb02
EBUILD homeassistant-min-2023.4.4.ebuild 16520 BLAKE2B 8a10312a8d28310be7a06eb3a0e3f0b0ab59c7cd5239df9d35fff3fba8a7f3f558802221a38e06bd8cc0cb9a38230f4178040b75a7ac416f4484f09c52356e52 SHA512 f7cecd20f93889c9049663e9ba32bdc65ed96a82d09fd4c952cd5123545a7d3aa19f088248a71ed1f5ed2c18846a464133dc97e9cedec33611eed63e4dce3d4d
EBUILD homeassistant-min-2023.4.6-r1.ebuild 16725 BLAKE2B 91b8150dfc979c836bb96e879a645bd88f41f42ec042c071522db46a8c51e463c20e7bf21573c53d79f1ec7df4abb0397fb19d1745a25b9ea5c22a36cac4fef9 SHA512 684a3f80e34458445b6897f095be4259c9e44c7f9e066df827a8164995ef0fb62d77cd990ff5bd85d66195b71a4075e7426cdba383bf854f3414466e6695b1ba
EBUILD homeassistant-min-2023.4.6.ebuild 16678 BLAKE2B 9bed6ca1a38d52725c615c2b58c62fcecc0b2025393c4a299416f609a6cb738f8c09a491103c4a4e693ef82216400af5719c9dbb2260d3cb1ca5a816cf65a5a9 SHA512 f0835279404ce655813650dba98bd128cdfea2c8207854e7303c29556cd7da46f6652b6dfe444ebfe7766c846268d0c9482b1aac3bc8a3ff7ac018513dd6860f
MISC metadata.xml 8819 BLAKE2B eb61e884c09e5488157d7643c284656c3cb33981bb1fbbc56987f9dc74d9e7b39eaa1b204178c213e963bd9daf27728982be72ce8cc54aa959ccecdbf73df118 SHA512 afbcbc04690c17b3b4e480e07392718e1e42ddb2b0c2e8051630865eb3e79ac4b2fc9e5f07265afaba6f44a3934107852f5562913cb7b96c61c21b31f1721d90

View File

@ -0,0 +1,3 @@
#!/bin/bash
/usr/bin/hass -c /etc/homeassistant/ --script check_config

View File

@ -0,0 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# /etc/conf.d/homeassistant: configuration for /etc/init.d/homeassistant
# Switches to pass to hass. See 'hass --help' for
# a description of the possible switches.
#
HASS_OPTS=""

View File

@ -0,0 +1,36 @@
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="Open-source home automation platform"
user="homeassistant:homeassistant"
stdoutlog="/var/log/homeassistant/stdout.log"
serverlog="/var/log/homeassistant/server.log"
warningslog="/var/log/homeassistant/warnings.log"
retry="20"
start_stop_daemon_args="--user $user --stdout $stdoutlog --stderr $serverlog --wait 10"
command="/usr/bin/hass"
command_args="
--config /etc/homeassistant
--log-file $warningslog
--log-rotate-days 9
${HASS_OPTS}
"
command_background=yes
pidfile=/run/homeassistant.pid
depend() {
need net
after apcupsd asterisk bluetooth cups dhcp esphome influxdb mosquitto mysql netdata prometheus socat-zwave syncthing unifi upsd xabbix zigbee2mqtt zoneminder
}
start_pre() {
checkpath --file --owner $user --mode 0644 $stdoutlog
checkpath --file --owner $user --mode 0644 $serverlog
checkpath --file --owner $user --mode 0644 $warningslog
}

View File

@ -0,0 +1,12 @@
/var/log/homeassistant/server.log
/var/log/homeassistant/stdout.log
{
compress
maxage 365
rotate 7
size 1024k
notifempty
missingok
copytruncate
su homeassistant homeassistant
}

View File

@ -0,0 +1,11 @@
[Unit]
Description=Home Assistant
After=network-online.target
[Service]
ExecStart=/usr/bin/hass --skip-pip --log-no-color --log-rotate-days 9 --log-file /var/log/homeassistant/warnings.log --config /etc/homeassistant
Group=homeassistant
User=homeassistant
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,50 @@
diff --git a/homeassistant/components/maxcube/binary_sensor.py b/homeassistant/components/maxcube/binary_sensor.py
index b42c96f..6433f8f 100644
--- a/homeassistant/components/maxcube/binary_sensor.py
+++ b/homeassistant/components/maxcube/binary_sensor.py
@@ -17,7 +17,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
name = f"{cube.room_by_id(device.room_id).name} {device.name}"
# Only add Window Shutters
- if cube.is_windowshutter(device):
+ if device.type == 4:
devices.append(MaxCubeShutter(handler, name, device.rf_address))
if devices:
diff --git a/homeassistant/components/maxcube/climate.py b/homeassistant/components/maxcube/climate.py
index 69d9177..c846e91 100644
--- a/homeassistant/components/maxcube/climate.py
+++ b/homeassistant/components/maxcube/climate.py
@@ -65,7 +65,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
for device in cube.devices:
name = f"{cube.room_by_id(device.room_id).name} {device.name}"
- if cube.is_thermostat(device) or cube.is_wallthermostat(device):
+ if device.type == 1 or device.type == 3:
devices.append(MaxCubeClimate(handler, name, device.rf_address))
if devices:
@@ -173,11 +173,11 @@ class MaxCubeClimate(ClimateEntity):
device = cube.device_by_rf(self._rf_address)
valve = 0
- if cube.is_thermostat(device):
+ if device.type == 1:
valve = device.valve_position
- elif cube.is_wallthermostat(device):
+ elif device.type == 3:
for device in cube.devices_by_room(cube.room_by_id(device.room_id)):
- if cube.is_thermostat(device) and device.valve_position > 0:
+ if device.type == 1 and device.valve_position > 0:
valve = device.valve_position
break
else:
@@ -275,7 +275,7 @@ class MaxCubeClimate(ClimateEntity):
device = cube.device_by_rf(self._rf_address)
attributes = {}
- if cube.is_thermostat(device):
+ if device.type == 1:
attributes[ATTR_VALVE_POSITION] = device.valve_position
return attributes

View File

@ -0,0 +1,28 @@
diff --git a/homeassistant/components/maxcube/binary_sensor.py b/homeassistant/components/maxcube/binary_sensor.py
index 639b670..8a02649 100644
--- a/homeassistant/components/maxcube/binary_sensor.py
+++ b/homeassistant/components/maxcube/binary_sensor.py
@@ -17,7 +17,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
name = "{} {}".format(cube.room_by_id(device.room_id).name, device.name)
# Only add Window Shutters
- if cube.is_windowshutter(device):
+ # if cube.is_windowhutter(device):
+ if device.type == 4:
devices.append(MaxCubeShutter(handler, name, device.rf_address))
if devices:
diff --git a/homeassistant/components/maxcube/climate.py b/homeassistant/components/maxcube/climate.py
index e09dfc2..40df857 100644
--- a/homeassistant/components/maxcube/climate.py
+++ b/homeassistant/components/maxcube/climate.py
@@ -36,7 +36,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
for device in cube.devices:
name = "{} {}".format(cube.room_by_id(device.room_id).name, device.name)
- if cube.is_thermostat(device) or cube.is_wallthermostat(device):
+ # if cube.is_thermostat(device) or cube.is_wallthermostat(device):
+ if device.type == 3 or device.type == 1:
devices.append(MaxCubeClimate(handler, name, device.rf_address))
if devices:

View File

@ -0,0 +1,4 @@
recorder:
purge_interval: 2
purge_keep_days: 10
db_url: sqlite:///var/db/homeassistant/home-assistant_v2.db

View File

@ -0,0 +1,26 @@
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# socat pty,link=/dev/ttyUSB0,raw,user=homeassistant,group=dialout,mode=777 tcp:172.16.3.199:3333
description="Tunnel to MS3 for making a Z-wave Socket"
user="root:root"
stdoutlog="/var/log/homeassistant/socat.log"
start_stop_daemon_args="--user $user --stdout $stdoutlog"
command="/usr/bin/socat"
command_args="
pty,link=/dev/ttyUSB0,raw,user=homeassistant,group=dialout,mode=777
tcp:172.16.3.199:3333
"
command_background=yes
pidfile=/run/socat-zwave.pid
depend() {
need net
after bootmisc
}

View File

@ -0,0 +1,48 @@
#!/bin/bash
# This script will:
# 1. stop homeassistant if it is running (wait/kill it if it fails to stop)
# 2. backs up /opt/homeassistant (moves it to: /opt/homeassistant-OLD_VERSION)
# 3. merges the new version of homeassistant
# 4. re-starts homeassistant if the merge was successful
prog="homeassistant"
atom="app-misc/${prog}-bin"
if /etc/init.d/${prog} --ifstarted stop ; then
echo "${prog} stopped"
else
echo "failed to stop, sleeping/killing: ${prog}"
sleep 10
pkill -9 -f "/opt/${prog}/bin/python3"
/etc/init.d/${prog} zap
fi
installed_version()
{
equery --no-color list -F '$fullversion' "${atom}" | tail -1
}
version=$(installed_version)
if [ -d "/opt/${prog}" ] ; then
if [ ! -d "/opt/${prog}-v${version}" ] ; then
echo "backing up previous version as v${version}"
echo "rollback by: mv /opt/${prog}-v${version} /opt/${prog}"
mv "/opt/${prog}" "/opt/${prog}-v${version}"
else
echo "Previous backup found - (re-)move it manually and run the script again"
exit 2
fi
fi
if emerge -v1 "${atom}" ; then
echo "${atom} $(installed_version) merge successful"
/etc/init.d/${prog} --ifstopped start
echo "now check the logs in /var/log/${prog}; e.g."
echo " tail -f /var/log/${prog}/server.log"
exit 0
else
echo "${atom} merge failed"
exit 1
fi

View File

@ -0,0 +1,312 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}]
~dev-python/bleak-0.19.5[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.61.0[${PYTHON_USEDEP}]
~dev-python/hassil-0.2.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.2[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230202.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.1.31[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.6[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-22.4.0
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.1[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-1.4.45[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.5.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.47.1[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-46[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.19.5[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.0[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.0.1[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.4[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.3.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.0.2[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.4.6[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.3.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.2.9[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.1[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.4.45[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.20[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.29.0[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.4.45[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.23[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.18[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.7[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.47.1[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.7[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.92[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.53.0[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.2[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.44.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.12.14[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-7.0.5[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.991[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.3.1[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.0.0
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.15.10[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.2[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
if use test ; then
cp -r ${WORKDIR}/core-${MY_PV}/tests ${S}
fi
distutils-r1_src_prepare
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,315 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}]
~dev-python/bleak-0.19.5[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.1[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.61.0[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230309.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.2.28[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.47.3[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.19.5[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.1[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.4[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.5.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.1[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.6.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.2.9[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.20[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.18[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.47.3[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.10[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.94[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.53.2[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.3[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.46.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.14.1[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-7.1.0[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.0.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.5.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.0.0
~dev-python/pydantic-1.10.5[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.16.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
src_prepare() {
if use test ; then
cp -r ${WORKDIR}/core-${MY_PV}/tests ${S}
fi
distutils-r1_src_prepare
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,306 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}]
~dev-python/bleak-0.19.5[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.1[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.61.0[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230309.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.2.28[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.47.3[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.19.5[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.1[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.4[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.5.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.1[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.6.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.2.9[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.20[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.18[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.47.3[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.10[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.94[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.53.2[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.3[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.46.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.14.1[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-7.1.0[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.0.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.5.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.0.0
~dev-python/pydantic-1.10.5[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.16.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,318 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 readme.gentoo-r1 systemd pypi
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.16[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}]
~dev-python/bleak-0.20.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-40.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/ha-av-10.0.0_beta5[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.63.1[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230411.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.3.29[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.6.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/ulid-transform-0.6.3[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
>=dev-python/websockets-11.0.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.20.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.7[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.6.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.7.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.5.1[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.3[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.21[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2023.4.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.21.13[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.35.1[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.97[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.20.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.54.1[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.17.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.10.0[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.47.3[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.15.0[${PYTHON_USEDEP}]
~dev-python/coverage-7.2.1[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.1.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.7.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.1.0
~dev-python/pydantic-1.10.7[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.17.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.6[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-3.2.1[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.2[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
src_prepare() {
if use test ; then
cp -r ${WORKDIR}/core-${MY_PV}/tests ${S}
fi
distutils-r1_src_prepare
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,309 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.16[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}]
~dev-python/bleak-0.20.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-40.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/ha-av-10.0.0_beta5[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.63.1[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230411.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.3.29[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.6.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/ulid-transform-0.6.3[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
>=dev-python/websockets-11.0.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.20.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.7[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.6.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.7.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.5.1[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.3[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.21[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2023.4.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.21.13[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.35.1[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.97[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.20.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.54.1[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.17.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.10.0[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.47.3[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.15.0[${PYTHON_USEDEP}]
~dev-python/coverage-7.2.1[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.1.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.7.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.1.0
~dev-python/pydantic-1.10.7[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.17.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.6[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-3.2.1[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.2[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,320 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.16[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}]
~dev-python/bleak-0.20.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-40.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/ha-av-10.0.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.63.1[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230411.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.3.29[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.6.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
~dev-python/ulid-transform-0.6.3[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
>=dev-python/websockets-11.0.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}]"
# https://github.com/home-assistant/core/pull/88176/files
# $(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.20.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.7[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.6.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.7.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.5.1[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.11[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.2[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.21[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2023.4.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.21.13[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.35.1[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.97[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.20.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.54.1[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.17.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.10.0[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.47.3[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.15.0[${PYTHON_USEDEP}]
~dev-python/coverage-7.2.1[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.1.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.7.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.1.0
~dev-python/pydantic-1.10.7[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.17.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.6[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-3.2.1[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.2[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
src_prepare() {
if use test ; then
cp -r ${WORKDIR}/core-${MY_PV}/tests ${S}
fi
distutils-r1_src_prepare
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,318 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="accuweather airly airvisual alpha_vantage androidtv android_ip_webcam axis bluetooth bluetooth_le_tracker +caldav camera cast cli co2signal compensation coronavirus darksky dlna_dmr dlna_dms +dwd_weather_warnings ecowitt enigma2 esphome ffmpeg file forecast_solar fronius github +homekit homekit_controller http hyperion influxdb knx kodi kraken local_calendar +mariadb maxcube mikrotik +mobile_app modbus +mosquitto +mqtt myq mysensors mysql +notify_events octoprint onvif +otp owntracks +ping +plex ps4 +python_script qnap qvr_pro radio_browser +recorder +rest ring samsungtv +scrape season shelly signal_messenger +snmp socat sonos speedtestdotnet +spotify +sql +ssl systemd systemmonitor tankerkoenig tasmota test tile tomorrowio tplink upnp utility_meter +version +wake_on_lan wemo whois workday yamaha yamaha_musiccast zeroconf zha +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.16[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}]
~dev-python/bleak-0.20.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-40.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/ha-av-10.0.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.63.1[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230411.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.3.29[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.6.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/ulid-transform-0.6.3[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
>=dev-python/websockets-11.0.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.20.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.7[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.6.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hyperion? ( ~dev-python/hyperion-py-0.7.5[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.7.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.5.1[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysensors? ( ~dev-python/pymysensors-0.24.0[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.11[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.2[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.21[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2023.4.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.21.13[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.35.1[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.97[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.20.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.54.1[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.17.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.10.0[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.47.3[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.15.0[${PYTHON_USEDEP}]
~dev-python/coverage-7.2.1[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.1.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.7.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.1.0
~dev-python/pydantic-1.10.7[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.17.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.6[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-3.2.1[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.2[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
src_prepare() {
if use test ; then
cp -r ${WORKDIR}/core-${MY_PV}/tests ${S}
fi
distutils-r1_src_prepare
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,113 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">home-assistant</remote-id>
<remote-id type="github">home-assistant/core</remote-id>
<doc>https://www.home-assistant.io/docs/</doc>
<maintainer>
<email>hello@home-assistant.io</email>
<name>The Home Assistant Authors</name>
</maintainer>
</upstream>
<use>
<flag name="accuweather">Uses the AccuWeather web service as a source for weather data</flag>
<flag name="airly">Uses the Airly web service as a source for air quality data</flag>
<flag name="airvisual">Airvisual sensor platform queries the AirVisual cloud API for air quality data</flag>
<flag name="alpha_vantage">The alpha_vantage sensor platform uses Alpha Vantage to monitor the stock market</flag>
<flag name="androidtv">Library for controlling an Android TV, formerly firetv</flag>
<flag name="android_ip_webcam">The android_ip_webcam integration turns any Android phone or tablet into a netwo</flag>
<flag name="axis">Communicating with newer devices from Axis Communications</flag>
<flag name="bluetooth">The Bluetooth integration will detect nearby Bluetooth devices</flag>
<flag name="bluetooth_le_tracker">Tracks Bluetooth low-energy devices periodically based on interval_seconds value</flag>
<flag name="caldav">Integrate a CalDAV (RFC4791) calendar in Home Assistant</flag>
<flag name="camera">The camera integration allows you to use IP cameras with Home Assistant</flag>
<flag name="cast">Let Home Assitant talk to Google Chromecast</flag>
<flag name="cli">Set a dependency for Home Assistant Cli hass-cli (lots of modules required)</flag>
<flag name="co2signal">Queries the CO2Signal API for the CO2 intensity of a specific region</flag>
<flag name="compensation">Compensation integration consumes the state from other sensors</flag>
<flag name="coronavirus">Add sensors for COVID-19 infections from Johns Hopkins University</flag>
<flag name="darksky">Use dark sky weather data from Home Assistant</flag>
<flag name="dlna_dmr">Allows you to control a DLNA Digital Media Renderer</flag>
<flag name="dlna_dms">allows you to browse and play media from a DLNA Digital Media Server</flag>
<flag name="dwd_weather_warnings">dwd_weather_warnings sensor platform uses DWD for warnings</flag>
<flag name="ecowitt">add Ecowitt Weather station to your Home Assistant</flag>
<flag name="enigma2">Support for Enigma2 boxes with openwebif support</flag>
<flag name="esphome">Support for esphome sensors, covers and switches and it's dashboard</flag>
<flag name="ffmpeg">allows other Home Assistant integrations to process video and audio streams</flag>
<flag name="file">Store notifications as a file</flag>
<flag name="forecast_solar">Asynchronous Python client for getting forecast solar information</flag>
<flag name="fronius">Add (very basic) Support for Fronius Symo JSON Api to Home Assistant</flag>
<flag name="github">GitHub sensor integrates data from GitHub to monitor your favorite repositories</flag>
<flag name="homekit">Integrate HomeKit controller and accessory in Home Assistant</flag>
<flag name="homekit_controller">Allows you to connect accessories with the “Works with HomeKit” logo</flag>
<flag name="http">Serves all files and data required for the Home Assistant frontend</flag>
<flag name="hyperion">integrate your Hyperion into Home Assistant</flag>
<flag name="influxdb">transfer sensor data to a local InfluxDB database</flag>
<flag name="knx">Asynchronous Library for the KNX protocol</flag>
<flag name="kodi">control a Kodi multimedia system</flag>
<flag name="kraken">allows you to monitor exchange rates on kraken.com</flag>
<flag name="local_calendar">create a calendar of events in Home Assistant</flag>
<flag name="mariadb">WIP: set dependencies for mariadb-connector-python</flag>
<flag name="maxcube">eQ-3 ELV MAX Cube Python API</flag>
<flag name="mikrotik">add support for MikroTik RouterOS API</flag>
<flag name="mobile_app">allows Home Assistant mobile apps to easily integrate with Home Assistant</flag>
<flag name="modbus">sensors and switches controlled over MODBUS serial, TCP, and UDP connections</flag>
<flag name="mosquitto">Set a runtime dependency for Mosquitto MQTT broker</flag>
<flag name="mqtt">install MQTT Broker and dependencies</flag>
<flag name="myq">lets you control MyQ-Enabled garage doors</flag>
<flag name="mysensors">combines devices like Arduino, ESP8266, Raspberry Pi, NRF24L01+ and RFM69</flag>
<flag name="mysql">set dependencies to install MySQL Libraries for use with HomeAssistant</flag>
<flag name="notify_events">The Notify.Events service is a platform for the notify component</flag>
<flag name="octoprint">The main integration to integrate OctoPrint sensors</flag>
<flag name="onvif">allows you to use an ONVIF Profile S conformant device</flag>
<flag name="otp">generates One-Time Passwords according to RFC6238</flag>
<flag name="owntracks">OwnTracks: track your location and send it directly to Home Assistant</flag>
<flag name="ping">use the great ICMPLib for Presence Detection and as a binary Sensor</flag>
<flag name="plex">Python bindings for the Plex API</flag>
<flag name="ps4">allows you to control a Sony PlayStation 4 console</flag>
<flag name="python_script">write Python scripts that are exposed as services in Home Assistant</flag>
<flag name="qnap">Python API for obtaining QNAP NAS system stats</flag>
<flag name="qvr_pro">QVR Pro allows you to connect to cams configured on your QNAP NAS</flag>
<flag name="radio_browser">use the directory of radio stations collected on Radio Browser in Home Assistant</flag>
<flag name="recorder">storing details in a database per sqlalchemy</flag>
<flag name="rest">rest sensor platform for data exposed by a RESTful API</flag>
<flag name="ring">integrate your ring.com devices</flag>
<flag name="samsungtv">Support for Samsung TV Sets</flag>
<flag name="scrape">scraping information from websites</flag>
<flag name="season">display astronomical or meteorological season (Spring, Summer, Autumn, Winter)</flag>
<flag name="shelly">Shelly devices</flag>
<flag name="signal_messenger">add Support for Moxie's Signal API</flag>
<flag name="snmp">Presence Detection, Sensor, Switch via SNMP</flag>
<flag name="socat">Set a flag to install socat and socat-zwave startscript</flag>
<flag name="sonos">Sonos Media Player Support</flag>
<flag name="speedtestdotnet">speedtest.net support</flag>
<flag name="spotify">Spotify media player integration allows you to control Spotify playback</flag>
<flag name="sql">enables you to use an SQL database supported by the sqlalchemy library</flag>
<flag name="ssl">include support for haproxy</flag>
<flag name="systemd">internal and developer use</flag>
<flag name="systemmonitor">Allows you to monitor disk usage, memory usage, CPU usage, and running processes</flag>
<flag name="tankerkoenig">monitor the fuel prices with tankerkoenig.de</flag>
<flag name="tasmota">Python module to help parse and construct Tasmota MQTT messages</flag>
<flag name="test">internal and developer use</flag>
<flag name="tile">API for Tile Bluetooth trackers</flag>
<flag name="tomorrowio">obtain weather, air quality, pollen, and fire information fro tomorrow.io</flag>
<flag name="tplink">control your TP-Link Smart Home Devices</flag>
<flag name="upnp">support UPnP/Internet Gateway Device (IGD) Protocol</flag>
<flag name="utility_meter">integration provides functionality to track consumptions of various utilities</flag>
<flag name="version">display the current Home Assistant versions</flag>
<flag name="wake_on_lan">enables the ability to send magic packets to Wake on LAN capable devices</flag>
<flag name="wemo">discover and control WeMo devices</flag>
<flag name="whois">perform daily WHOIS lookups</flag>
<flag name="workday">generating country, province and state specific sets of holidays on the fly</flag>
<flag name="yamaha">Library for Yamaha RX-* Receivers</flag>
<flag name="yamaha_musiccast">add support for Yamaha MusicCast devices</flag>
<flag name="zeroconf">will scan the network for supported devices and services</flag>
<flag name="zha">Support for ZHA/deconz based Zigbee/ZNet Devices</flag>
<flag name="zwave_js">control a Z-Wave network via the Z-Wave JS driver</flag>
</use>
</pkgmetadata>

View File

@ -1,43 +1,25 @@
AUX hasstest 72 BLAKE2B 219dc5045193bbbf18f91d37d90072304c3f9937ac55337b692fcb03adea8e3fc63b3852b928d40b13162172d22f712feedb088d3d9b54c9b199a01c7446c865 SHA512 57491109c03926f0ab0a1cd3f55da0faac1afafc0ba405b4244652376d4da943227c17b1bf6b136dea151649cf02caf51d9aa49581addffc8ccf4c80d3c43c9c
AUX homeassistant.conf.d 289 BLAKE2B f4a85e5a451a254a8ef39ae481275eb93b52df645d5b5c5801fee30aa548b9ccc0eacc9fb5256793d819dabe7b53f6ff5809798d0cf771464d56aae5a58332d2 SHA512 db860c0c66d0ea66eae08e62befc07d06ccea37a2ab89280328faa54ef6cc0623a65257e7806c72b1afe608e502566ca4ee8ac7de3547705ee6394184b5da110
AUX homeassistant.init.d 922 BLAKE2B 0ff290187ca08f0a2afe011e9284f91c25722f4d2a97e4d26cf6cf06b56f66caa30c777bf1b4f7a32ebdde644a3d8b2e5c625bd86f70601548d886deb54c9a50 SHA512 78328ec822f43c04b614e63b27625c0fff75419203080b651c881ea91ea00dc32eb62273c23e3e150a5c22c952bcd86a929b10e92a0e3b24540d2ae66909216d
AUX homeassistant.logrotate 186 BLAKE2B 260c2260bffc1bd164499beb2d63168c1d7bf838c586f1dbd782e9d6d88ee641f187ff0ea38b587db2f8de986a0f3cf75ee170779ac218e890fb6daf520f482d SHA512 917a4a33747c195e9d7477846f846a79d56b5cce37aa0bfb417d1d9acd24a2c106d9f2d348e1f779e3ef4e778fc5fdcbea26b56c91a0d84615ea7d7f55fc2f56
AUX homeassistant.service 261 BLAKE2B 54819aa30aa5564aca693fa2dd70ad4a9831929a33f1042542e2555fa1ec2cb5cefd746b6abc308bc970f627803279dc3caf5fbf3de5c94b3fd73760e1343a38 SHA512 83f6ba1782f844c290f349ff50bdea8d8d88d41e2f39f3f7d5a015a0f463a4c8f7328acbd3838380cf6ca78090b39ebdbeb5e3f39607b5e307c0e53ff55ee697
AUX homeassistant.init.d 1032 BLAKE2B 5ca9e2232a35ddfd4279fd9537a112f9edd59edce7468f7054e6d049f4d3a60d4ef82d74092eec1d7067bf0d27579acf6e1b19f77b9f0dca26126dd59bb76838 SHA512 0ce07ebf1bba1df4772def0c6eba126dd8a8347208d15fbe1cac774f62dd100e172f0d8d5d26f9dda7352f36a5191e1b771af7f44fcbf16d365d5595451b44fb
AUX homeassistant.logrotate 185 BLAKE2B 95f6a0681f2ee9da195052a19e7a420aef5f99f601cf1b30c895c50a846364bd86764d4e2a550f5171374e43a2197f366d4b7b263333049445ee45c998046582 SHA512 fc99afd4bcec3785e3387e368040688e46b02093100e9c8b5b6c11bd4566b39adf73da2b8470427ba6a9193335979ee78e8667caf227d23b31b7b50ffb9f63d6
AUX homeassistant.service 295 BLAKE2B d6989960404ed89f1888e0776a622b8b1800c39353f458d38af2364f1cc6a93c249155c291633792666e12c5235d8d43e9ce933a1e8958ea3fa948f74ebdf716 SHA512 c2c7349e3eda8a0bf85543697e37d0038e7c89ebdbaa22104dfc26f56d408d1c843c2aaa0c935359ab0ba27e7e3529a48a5487bf5c3377e37d47b0cbececa3ec
AUX maxcube_TypeError_01114_dirty_hack.patch 2264 BLAKE2B d4287d558066962e331e91839ac9008bdaa3b41bfccd634d79479b3d35716e2defedfa311d06143fd2d97a253965dd3b78a9b8097d9ed961a0616fbebbc3761c SHA512 3b7264dd59df521bcc2b3a3e449960d59eb85c9a91fafbe022d63f5e5c3308a17e3f171a33dcef116bf9fe0ccd4302a5357e5bf92a72870ceddd1f306c2be29c
AUX maxcube_TypeError_dirty_hack.patch 1460 BLAKE2B 08570971bb3ce4c120086a32ec2048796d705dd3958cf89b28e744089a51531c967c5c54f3deb9c0a39ba68d93e062550c0af44eedf464922ee55435cb01ceac SHA512 1c7a2c45a7eefe6e6cb1b9354e94a0fe0afcfa09f519f6d6237359f67545a438cccf53121850ebf5258519d0adeb3e653159d41f5aea398e5c8f7a8ed07081a5
AUX recorder.yaml 114 BLAKE2B af04840805aa13124208584e7f1d40335905a083ee7deead5c0e4324c969f2a231c801c23e42075782950aba7535496d92747bf03efd73a80b0d07e8492d18f6 SHA512 cb4e353e54fb6dc7034569b8d62ddcdca92680c23c2c4e1ce707d21cf95e93f41a0c44521d8c3ee90b68c830f6b8e65dab82ae64bfa09727ae384550f7de0c94
AUX socat-zwave.init.d 637 BLAKE2B d61c1024a6fe3ce8d322e62ac1ec15e00d08f5c5a63feabc8603ecc51ec16e0a4775e0c7da83d12d1ef0c9815c9ebf8ec8a86a678bb4a3b40decb04adc887f26 SHA512 2b13cd4175427853d5a4169cc7d441d62618e8136e4f5d9fd24d08a47f6916953ebd1e747ea9c7a0907b00766c7b2108ba3b8917178fd9a795da23e6525a0faf
AUX update-homeassistant 1326 BLAKE2B 917bdd332c4e5dea5177eecd11a7f8d72b911fddfdc8e5eb54960c526fe8c735e20d44e570cf7aeb99669d2a9670c70da1c5fbc30efb284d1f0f330799de6e24 SHA512 3c05f0d6d1bde0e1526c3e679568794c07091e7856dfd8793e13feec6f22725ddaa3163ca2c81d9df86cf73573f932e561743f05de420b350a0b68f6a9582aca
DIST homeassistant-core-0.109.6.tar.gz 5890949 BLAKE2B 1d117a564f5bbf34e2f5ff822fc1a7f1ab0ba7dfe18922243400912b39813fed96a4a4c78a5a5ac62e69d48d2b4f87141f5f9f67710a21cbb14e976bc1a32298 SHA512 713ebf4a00410a27ce68267526437f24933cc07d08e317197ca9efa1e20a66bb6c3b5df0f28a9a896b97d715e81b7408ad75c35484e1e29cc37a0fd7a4e2b9d2
DIST homeassistant-core-0.110.7.tar.gz 6331108 BLAKE2B 8b4b23884adf3430f5f902d73f701baecaea21a1f7e88bddbc27482c877a38fea9071bcb84683f9bb545095829cf3e1681b23281e3520b177cc6833f72ece196 SHA512 fff2810ec2f40a4fac5e8da9002cd9221fae69c39c27f6487597ffac812a083a89b213acd382746ffe5b4d0314c5e61c429c471b6b1c39135dfd5feee30ce5db
DIST homeassistant-core-0.111.4.tar.gz 6486741 BLAKE2B 3e27e34c07765aec372ce6356fcd196c5f26b8707cb6b765ea98e92afa1a03a3448155fb41f316f12479fe9a2f63a31ae8ec0fc503f5e14117007793af883ab1 SHA512 978777e2510199e25e9db63a828bdeb8440c2f3fff1d5dfb309a803956ac6f03e2fb747e516ef674185b31f7f6a55ed960b4e4d575f07314d56e98b588880f8d
DIST homeassistant-core-0.112.5.tar.gz 6607841 BLAKE2B 69b3a5b4d800f764dcfaa715eb2a4f8c1425ee3c262d49bf1432c4d0a2229ae226c7df45c6a6a6e8efc9200f0ae4b1458cff3173d6632716761205b65e331ac1 SHA512 c60b3f7e6208b003d935d6e2baf0bd42fc3ed043550b8f597445bb384100335d2d2a3738c9bfa939c8063c6e3707c193a6bbf4b7722201082ff1bae0fb87c9d2
DIST homeassistant-core-0.113.0.tar.gz 6798943 BLAKE2B 5413e3837dc59517493c718f18429d417fe8b22198307cdaff3031262e61c64025f08654901cdd8a35b14484cfb3ce0c3d9575879274709c119f6f8585bf0649 SHA512 b506b3edf6db8a444d72e8e598376faa01becdd8bd1a8e38421897dcd6587a8a9effd166fcd86ac9673084a9de9ff3aecd97f2927b9bf7f0785dc05214e7780b
DIST homeassistant-core-0.113.1.tar.gz 6800624 BLAKE2B 3aa1e3f60a0a33e3032594e4119cc715334b2cb0735363aea5aa72f6c5518d4997a5d3ea4439e218150651260791acb3b49903d7e8b4e83a4922a0e589a7e88e SHA512 91955bd780e110793d0200604145b33e397c7a6b662bd8bc41131498a6c024bd7156cf5594d7cccf239ee1377c3970f4cfd9a2c158628346b4bb1b9d934be364
DIST homeassistant-core-0.113.2.tar.gz 6802244 BLAKE2B fdebf610b62fdeadbd2df9f5d09adc5061fdafc47d9bedd3edf018cd734916c2945b68a0c9137596e96a219e8c224cd295d4b6ef777e88b78f00666b057c97ab SHA512 5113ecf704fc72d64b9f0e97e9311283f879b57e1afe7d5e0084a824ac9e55fca1052756c52f0409a4cdc5e033153e10c23978542eaf99391ddb3377c4047913
DIST homeassistant-core-0.113.3.tar.gz 6803948 BLAKE2B 469c4b9735488dc8d568a0893d9469a8953003fe7eb8b11e84e9f560885438efde5f71aeb381da3e2b2905a79f2f747e3bd8b7f90a15de97382a7a46f8dce9a0 SHA512 f453e2a07e45b7e807d71d6566c1bde66363f1a43282612c5c5b9a30bb670c425ef6a779bb5ca3966d6a3c7d18ad91179d8a1168eed912fa31dbcbadfc657450
DIST homeassistant-core-0.114.1.tar.gz 7013107 BLAKE2B cf51126037204090c7bfd02a94712013fb1dd77c12b2777e947054b278f4eb3880c2e847ff5c37361e85609ed0b191679ccc365e4fd7a4ee5caf03cd4080b703 SHA512 49b48fa3c181254f286647fae11966036d01ae486749efc1dfa47a0707ba5e0f37626ce58b78fdbba3d42247f7fdf53a0617c3db1078928145018804eabe89d1
DIST homeassistant-core-0.114.2.tar.gz 7124151 BLAKE2B a78bfe504e7c423531e9bd1c6585afff423af52908b2c8c99a880e7170e717a4aa79fd7f3c99efe24b27e3d9e0b55913da372bc620ed24ac4d88709e786ea11b SHA512 23bba7d23105e1fd02715482fac93423cec3e0f3b7973da3062418a2fb4dd589b5d0f1a1eeabd83a71f6e6fdc349cd21bbf50806df3b074966d7a23d2a5ed9df
DIST homeassistant-core-0.114.3.tar.gz 7123686 BLAKE2B aced80164d493ed7ea014a73957e833c7b02d9d484e2e4aa63e610dbd52e2063ac722eb4a66909440b922f0d1ca34167ac0f1388c28ca22913719ae37deaad8f SHA512 a433c76e2ec5e43fcacd99509634c54df8c80063ce8ce26ee0d9608daef623265f0913f233bbbba8581a8507542b8d7060ead16a745ab4f9e7c05b020a38da59
DIST homeassistant-core-0.114.4.tar.gz 7124717 BLAKE2B b1bd3f44a9b775ed3d0d78a84c11d99a33064bb87363ed49395c8dc635437d4f1f3b3c55292de6449e714671d533c89668381ed9ef81a8c0a7e26d9016567bc6 SHA512 49e944a80027e22ad3be4cc4580d7e88c04fed3e417c24f98dfa78a3a521095766c9507dcab03a85bf96d7304452dc6d85eaeff7cbda20ce9916834c0b97a0a9
DIST homeassistant-core-0.115.0b6.tar.gz 7535283 BLAKE2B 5915d06dc6284f53531be9e8a071421991789bc3c0ddb8635f7094331c4d61b27bc3c7bc6bbe8e999753da38e5421ece604a5cfeaa323484b7ca48a092cd519c SHA512 af67841777e4669e5445b427cad0e808237c1b918f78022f06f779946d34c27a115587b4946b3298b7571209d30504e8728792ec213c19e19377a5c1fbe9f0ff
DIST homeassistant-core-0.115.0b7.tar.gz 7536669 BLAKE2B af8612d5b11eef723d2d3263e474da1a36a028902b1c7c654ffefa510af7aaa29b3bd063963b24f473951488a02c87815aa75f716b8dd01cf49d8542d846c2ea SHA512 cfc2bad8d6efe3218f16116889f2214ebb42599552daee418e23c6e3a482aa9fc068cb9261214834b77faf2e80e39d32525528f4852f3e55b17b1105bb856d1b
DIST homeassistant-core-0.115.0b9.tar.gz 7542760 BLAKE2B 282b89761a4d3bc5d014a962e504dbbae5db297f3321c59e45590fab0ea6dd473beb6e16988bec8c29a57d1e807827fadf5df4b0710a5b0320d1580824f33e49 SHA512 06da3b01a8a25bc9f20bb2b7a669813ac003cbe019c3918a3ef3e3e77c9295f06fc5532a1091dd9a88ab464ffb02fec7d34cf7bc692d153a8cc77575e101b6f6
EBUILD homeassistant-0.109.6.ebuild 14733 BLAKE2B bf77b1b36504d21dd3fab210ae30fcca616090ec396c5096aa2843c32cdf7b44f43c26ecd1ba4f621375cab8bfa59d1a1804d02711f9e340084adbc0dbeaa378 SHA512 5694e2b7f601d6f914e3d72a3802c8d2ac07b3774bf4dc352c1757297e9339b2e66384859a1b40831177cca308b1af40a1e32ae7a27619836620fe3d61404e49
EBUILD homeassistant-0.110.7.ebuild 15166 BLAKE2B 0de991fd358b4ea06517888436187fe7c2cdf640f07cb0110facf6a5b857ddc579ddeea6ca41aa1b8bf4c2faaa1381029324fe880eed718e9b5519a5f33a2531 SHA512 11a09b030f97c25d4e359c0015fb0d122b98ce5294429c8c5521f8af5e22b06ebd603b11d055ea8f7d83c867b203ab65bd66b277b2231c9b45df20a87e89aac4
EBUILD homeassistant-0.111.4.ebuild 14843 BLAKE2B d7424114573148020ed8e687191f031a8b9c3d6f6d44850d941f688db2204a48d397134d2ff6ef24aadec2bbebbf8213c4401aac409069a549addee25fe4e124 SHA512 78eeb64bb6bb58c5f66262551e5446c2c90b4473da640b66d2c031a39a60dfcd354aec67c8a1e99e0f3d9018a26f4eaa45e28491cd592005bb6e903b383f8c78
EBUILD homeassistant-0.112.5.ebuild 16645 BLAKE2B 0a655cd68ee91b27cc9586fe43098695beefc8ebd02099523a51b839c0b8c5b3a66717ed6f86d32bb62c08d9e295b782b7119c8120b27b5eea9c44745becabdb SHA512 d9148cb938ab6fff063b4c28ddfb498a851741cc646407f075be4bf619cdc276603679ddd20c7136a98c05d3dd4ec2cacb1ac571cbc48b5a1dc261e179b36eb2
EBUILD homeassistant-0.113.0.ebuild 17852 BLAKE2B a48327ceb5d26f0677e986335369827c19f7fd42d1be398f8c93212f5776e70d6cecdc067ea11bad3022cf2143c98f4f994d2cc60dd2a2848e9f356615a318a8 SHA512 3bb4df364c8dd8f4cdfe106b186b9e19adfcc767d2e98b0fbd3dc4b6543fdf5062179586d115882f8c0b49f29ceaac65bb68d6a826177c38c6c3d4511c2fde29
EBUILD homeassistant-0.113.1.ebuild 18268 BLAKE2B 2fa486cfd2aaf2b90e2acf9b188ff7c2841c84f55ac054b31a4bacda2992b8bd71af8a8a0efe4a0e65d3db904cd5537078616ca96e9a5dfcc23fb70434d346ea SHA512 2ecbde6031c0158b44d1dfa2260ebf39aab7d4aefdebe1e7cbdc8cfdd56022faf577b896d2b3ab6c67e6da81f9336b4e53eb7502eca584f293cde8c07bfdf760
EBUILD homeassistant-0.113.2.ebuild 18284 BLAKE2B 1931208736d188cca96c25153d6e7f5d4425812f03dce07441757cba1c9fe7371d650585e8c85e07f8f4aad002341ac32c636c74531a95db849e00995d2d3edb SHA512 2de21ef4f8849f2bca172bc8b70d2681be9e12d97942681b684136ef63e6b069e428640fa723bf7f73aec282cac8f1706e55be846e5a2d31a8d4bf8e51270744
EBUILD homeassistant-0.113.3.ebuild 18325 BLAKE2B 09fbc487f91c25d65f04eeaa0fe2f957a06da51265bb60df88ed2134832acc33f605a5fcffee7b25406a107632e82b87f1aab0a6506a35aa61e09018f191b25b SHA512 fce201f0f3052b03a3cef64351177445e6004212b588888cca250760144b04c49b1abab3de86ce840c307ae65ab5cc23c330f4cbb5399f00b59772cd7c19323d
EBUILD homeassistant-0.114.1.ebuild 18502 BLAKE2B 651cdda72d6b31641cc938281fc17df14dbef39397c9edf05d2544c8991653e1762f0fd3816ef53dbfbde31efcda0e3a55b00508f01a46f55aa2029cd6115ab0 SHA512 2d03314816fcfef5369080eacb23234bf0187919a399cadd33f3f0f52425179d5c3918405666758020d8801f6bd52c7d7c5eb8a42a7cad4658462ff318b1bc6c
EBUILD homeassistant-0.114.2.ebuild 18586 BLAKE2B 7898bd7d1ba269688553a893fcc8c7816c8a8e77d70bb2943712ee2abc6ed92b49d11e81131907e7a75aa40c22e4d3e1877a199ecd4bd0525eb97362598237e6 SHA512 a49b2acbcc4337280403314c579165ac389d59d58300286af4b37f3ac1564ff8d5828049e460e08f08ad0298f2a6df176cd923a1cf4eac81ba0c21479bba40fb
EBUILD homeassistant-0.114.3.ebuild 18586 BLAKE2B 8e22d7baa100b517e3717354eec4a3775445fa3e0449bf6235a3bf6d280a65b8a6cacbe2a5224b89afd93ae581d7763559bc8bb7ca9aa05525297e12da13c749 SHA512 2d8a5fa50ee9fd1061d3c918cfd5f8c396da3bcb40bcb52c70170aa081f9cc5838e20c3a164206c9a6b24a3e932742f4c76f48d38c79fa641d76326cedd611fb
EBUILD homeassistant-0.114.4.ebuild 18796 BLAKE2B ee956033952f788625084e8aef3ecd082851e448f6949a38962a922d250773e905a384050cd26b4562ac8c2e18f1557d2d49c9f3a05e602040ff1917ff5f5c76 SHA512 1b9ca37e305cce7dc1d1d79bd2abd81a680fa5905690e08236730b5c5deb02808c852003a7384c79d43734a0ddce1c882710b4429f0e311d11140332f189ec4a
EBUILD homeassistant-0.115.0_beta6.ebuild 19408 BLAKE2B 99a308a921e1b7a9415543db0bbb9fb0a70432e8e698ac97b1ac34ae55cb49d651dd69e7f3e9d98dd8455f24217a91498f39f8876fcb57205c7b794de4ea4e10 SHA512 fcd5a17894b0d60475b84e48ec2d7c0c59661776c1a82e322ca881558257ef0f11721b6fac1c7e6d54827eae4d2aa4cce5bc68daef5a33b0c77c304ca129d233
EBUILD homeassistant-0.115.0_beta7.ebuild 19210 BLAKE2B f6e2c49c1d1c9934c2a5ab18745e3cd95e44402a022c66ab80891b3bb9afe4ec3cd6dd0988590bdc26ec21eb2463d1ffba262916c53650292b0f9aade21beb32 SHA512 08fa40df526304b062457fb67df04c265495f07908a6ce9b4a41aa1cc428d9cc4af32b27e5c1748ccc9625f2e1f95526f186d4e3405c5e060cc1fc93cb2c8978
EBUILD homeassistant-0.115.0_beta9.ebuild 18968 BLAKE2B 465436c75b7935125793cb03761ca24d0271c372738285863b2a547636d7651b65d2a02f6a0a89d9fbdcb3e57888c69d623221e33e39fe273902c34607d457f9 SHA512 336811bde25aa83c80404d6b3caeaf2e47e18a8e3ec768d7ca3afb752f130f970d3867a087e332e47713b5504daedd6c747b73279744324958b6631534016f46
MISC homeassistant-9999.off 61202 BLAKE2B d13693b1971997bed31ed7c255677b7a146716f70540854f6972b7ded0adac3e04b14c7b33f4cc0c191291dc039bfa570e1f3598651eaeff9e10cad9738470f8 SHA512 364cada3ee36c3282a68a3a04dd60357fc4575926d10570dfdbf3bc75dea8b14315e2ca0ccdda3f46e73eb5ce8ef473d1695517e43af078848664f7939024b0a
MISC metadata.xml 13074 BLAKE2B 7b903df4ba760830c5b2787d71937c8d758833b15175181fff9d70f4088ef0b954f05c7faf64990b41b744c46041820714d62b169d311540403504fa40f8f5f8 SHA512 f2e4463a31fbff782b77785208f97a294af676409977ea8ac040fa3e316bba3bafe748b9d8d7a526483e1d85bbb153daeea7dcdd19184b621b961cbcfc5cbdcd
MISC metadata_new.xml 12825 BLAKE2B d539dda4f7904c4e88e7f26f46a10489e7468ee319ecd7e35367dfcac9c30be1a33ca2256e4caef735b72a31aa4431dd3dad83174abcc075865bf91a414c3736 SHA512 c95ce464de0582e43b9a84e47d96c5ee5ccfcddedf37ad9ccb6b13989f22c1dc52cfb5f26eb73e9ce501c7755a7debf250433b87f2b8cd60ce429f2aba75e8bc
DIST homeassistant-2023.2.5.gh.tar.gz 18210750 BLAKE2B 326d12c4d279f908674f25388b059f557dd13c411a055f7f5d4cb7dba72a2cf381d2c8ac40bf018aced3cc278208f343bdc246c5aff6a570443b49720dc18a51 SHA512 1d7c0559b9735e97fd030089d5af54d8c694602c0d2f6696066b9f216c4cc66de561c509b6ac5538cd3ca911ddce59e53c98a1c6cd779a7d3b4ceea9ed286493
DIST homeassistant-2023.2.5.tar.gz 12099705 BLAKE2B 009dc9b17de0166dd0cc890583b989ba3fbb8f4df21ae5ac520a94fd833401c07af56eedfbf32fbdb77d7a505629b0f1d967a29c6cf4cfbcd19c1a5359a52ffb SHA512 6e1702e93041e0f6bd71498d5137530c4a7bdd2eea020a1f84da5b0d825af6a052371b70e81798b7022c33e0af9f25760b5bf6f7a6a7a5d8c4d4d9c8fd14d0d7
DIST homeassistant-2023.3.6.gh.tar.gz 13678015 BLAKE2B 3208e8de6532973a8ed0c1fded9aecb2aa4e68f9a5a30767466240077b911b8000340f710081ee96c4f6f4fe0baa213b1562f8d06320ad9f4b387cc671e4f79d SHA512 9ed69757a2a81f0ce3b6ff271bee429ecc1a0fa14a75b981ec234320efad8d596e38cf1d7ad7c95ed74f53f3b82edba290bb9fcf8eb7489a707309fd70e9e151
DIST homeassistant-2023.3.6.tar.gz 12559122 BLAKE2B 6d5eddd724039754607eb0f798147973be18748fc0c608ba5b473d503be3f8179b8070139af62b4484b238f17ca32c481a25604f33d3d6044db31ba3ffb718d9 SHA512 ddd9b218abd6c986163c849b3552204ca5fc7a1a9b448b68e2116f0cb106c1f439dca7f8e8e3dc8316f38fb4512280d409d2793529e9321405766de097e77c6e
DIST homeassistant-2023.4.4.gh.tar.gz 13866710 BLAKE2B c48209cc8377059a662ec4284e81c4a7886e586e180c8a9e943f7d47dae9cc0f0bb14de79a32c75b913bd2abe0fa026dce4aa5cf513f8efa588c630bfe76fa68 SHA512 686fb4c869d18c4e4065fe45de060be4cc037bad35d6fbfdf8304138e6e5af67f3da9fc18515310bd420a1dac60f4d52cd2779065d3f0b1cfd858456a13299d0
DIST homeassistant-2023.4.4.tar.gz 12889752 BLAKE2B f25ab36bbe75a19349801c1c7bb39fc1dda7c7612d64bee7c65f45721e9dcc1ff8431f2ff79d2fbdcfb0715d1d065e7b131b6a731ffe3d0853c8eb21430dc32b SHA512 70a7fa3e1d872bc57b77fc2e380274d080e9bbcf745c7626881928dc4f79844afa8fb71c0611186f3d6a0a047080fcacce2e944730166200bea7f0a3bae7a188
DIST homeassistant-2023.4.6.gh.tar.gz 13871472 BLAKE2B 1ae4d3d2826d194ae8a8d91132b410647159887e97c1273d615d56fe1d435ed6373b2ec4bef04c53d85bb6a9c91318aaa4db2f2b2b48cfae51b9ce990930afc6 SHA512 c8a4ef2e8a1f02a588e1bc5f6bd9281118c3b2edff4c3c13a1045fa733ca2195b7bbcf371aa3df57cc6d4e4a631944a6e360ee6a61add5de104a2a0e0f023fbd
DIST homeassistant-2023.4.6.tar.gz 12994366 BLAKE2B 68915d12ddce0aed48d5f21b64dd4581afe35db5028f165d7317216c445f7c88ae7f46138566358f1753f6411895b47915f51c676fce47adbcdc0ad3fcd090c7 SHA512 9433ac0f3d2f1309269e07a94060b758a059db8dd5ca8e14dcb0b986155f47863959c3be03eaa2c5984458fc1b4d4303ec155b7a298f5a910c181ec1489859ad
EBUILD homeassistant-2023.2.5.ebuild 31377 BLAKE2B 41328072d8443878bd26d3a8a5c90231e25d21cc05415932651ce6b6ce36c31a40c3b83b98725e41b2a1bd3ab3c6cba20e8a579f76b4c5acc7e4dadf31bb76d2 SHA512 727dff1f502e24137bf734dc742a12e289e8fc5864ebf276bbfd07cf7b8fe583210afd6b3ad6567ec8fd34574ddedc2b45b157fec6e1879ce55e1ecb77364ffa
EBUILD homeassistant-2023.3.6-r1.ebuild 31662 BLAKE2B bc1e957461984ba8847ff80a4b98edb4689957cd80a433cc0cd01ca91fb364fe3d2d8d85c6670529a8804dfffdc611310f4b1c042671fff769c58c5f49372498 SHA512 6a05c58d4644ce34df3750332144a614a129ab60c74ad3818e58d76a5b42a99e30d88016340e0f0cb5630a9500a281cdbcd5379cb3bb12e1ff4228f51d40242b
EBUILD homeassistant-2023.3.6.ebuild 31511 BLAKE2B a8bf65d6f9d9a0bc820631542961733612c28178bfc6a08b4655a0a77409a364c82a10821d4b1cde21cf375ebdb6f16843e16f1f8a3c74c4d1da9f4cc79a3e5e SHA512 d3a487b6ca03288e3b2134e3169857e1fd21f1abf86c466eebe1790f2580f6cf3beb1924614539ba76c84a5976d536ce62a6af0c28ba0d0683fc0bd4f6a36c60
EBUILD homeassistant-2023.4.4-r1.ebuild 31853 BLAKE2B 6dfcc2994ede2be17cf94832b5e4335fe869a59b04691738419492657d70f18c0cc13ba5062b6cf879d79bb4cd773fb6dc39336ecaec665268ea1f402be68d9f SHA512 63205241d21bfc0b610848835b519c85413534b6e57e75710b739df4474a64a73c822ef32b25f2044ca2fa132a55502ae7ce30703cd0af36422a2666cc0c1a9f
EBUILD homeassistant-2023.4.4.ebuild 31702 BLAKE2B 1fbdaf48c4845f3fae8d9b1c2c349875763ca3f34f34d15f9a7e8efd7dbe018fa46d8add8d0e7f28978ae15155433b44b34d52a2671a2c6c74d8faa98f3dfe60 SHA512 0bf210d32e98ad2871a21c37f33dbe5f4e0235e54b8e5b76721560c79d1ffd1f175a0ac2a0cd9d76913f01623d06d869e09a0ea02448679c7428ede9f82375ce
EBUILD homeassistant-2023.4.6.ebuild 31866 BLAKE2B c6f5936e05d8527239c7070de12d1cab8edf203f973fffef2a32c7bc240630eaa5ec43e1da9cc2d07842708dee15e762f2c4765eb31d5a74ead0266c91a4cda7 SHA512 b4961e90f334838e69e41d43d58bb7198c3c37e0a64e45701e063f0ac42e89cadde67143229efc7102fd393ece6a1a92ee9c966391d3ab19404a1f5f518e9617
MISC metadata.xml 26442 BLAKE2B 1a3637e958c177f57bfa40eec2516e0fcc3afcdc02e628460a8fba82c146ff69b0367bc865b09e3e212a458157388673021458a2ea445175353f14dab06fbaad SHA512 3e3d04eff6e300ea0519effc83c0d297224110280ddb6d69fb406f02f22df1b2822c9a3627ff6c599c3469bb3335d7a6317ee06252e8a1ece4ae88e5d43eb521

View File

@ -9,6 +9,7 @@ user="homeassistant:homeassistant"
stdoutlog="/var/log/homeassistant/stdout.log"
serverlog="/var/log/homeassistant/server.log"
warningslog="/var/log/homeassistant/warnings.log"
retry="20"
start_stop_daemon_args="--user $user --stdout $stdoutlog --stderr $serverlog --wait 10"
@ -25,9 +26,7 @@ pidfile=/run/homeassistant.pid
depend() {
need net
# need socat-zwave
# need mosquitto
after bootmisc
after apcupsd asterisk bluetooth cups dhcp esphome influxdb mosquitto mysql netdata prometheus socat-zwave syncthing unifi upsd xabbix zigbee2mqtt zoneminder
}
start_pre() {

View File

@ -4,7 +4,7 @@
compress
maxage 365
rotate 7
size=+1024k
size 1024k
notifempty
missingok
copytruncate

View File

@ -3,10 +3,9 @@ Description=Home Assistant
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/hass --skip-pip --log-no-color --log-rotate-days 9 --log-file /var/log/homeassistant/warnings.log --config /etc/homeassistant
Group=homeassistant
User=homeassistant
ExecStart=/opt/homeassistant/bin/hass --log-file /var/log/homeassistant/homeassistant.log --config /etc/homeassistant
[Install]
WantedBy=multi-user.target

View File

@ -1,302 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea aws axis bitcoin blockchain blink bmw_connected_drive bravia-tv buienradar +caldav +cast cli ciscomobilityexpress coronavirus daikin darksky denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue icloud incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen openwrt owntracks plex plugwise qnap +recorder ring roku roomba rxv samsungtv +scrape signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl synologydsm systemmonitor test tradfri ubee unifi vallox vera +version velbus webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.23.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${PYTHON_USEDEP}]"
# from package_constraints.txt
RDEPEND="${RDEPEND}
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.34.2[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200427.2[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.16[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.25.1[${PYTHON_USEDEP}]
|| ( >=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )"
# still unknown origin
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-2.8.2[${PYTHON_USEDEP}]
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
>=dev-python/immutables-0.9[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/python-jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.18.2[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.1[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/PyQRCode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.41[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.5[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.0[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.14.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.5[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.3[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-5.0.0[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.0[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-1.6.3[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.8.1[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.11.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.1.13[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.37[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.66[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.9[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.0.1[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}] ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
myq? ( ~dev-python/pymyq-2.0.2[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.3[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
plex? ( ~dev-python/PlexAPI-3.4.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/haanna-0.14.3[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/roku-4.1.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.5.3[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.2.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.25[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.0.7[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0
app-crypt/certbot
net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.0[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-20[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.3[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.3.0[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.2[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.1[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.3.24[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.8.1[${PYTHON_USEDEP}]
~dev-python/zigpy-homeassistant-0.19.0[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-homeassistant-0.11.0[${PYTHON_USEDEP}]
~dev-python/bellows-homeassistant-0.15.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.5.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.38[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch"
#sed -e 's;if cube.is_windowshutter(device);if device.type == 4;' \
# -i components/maxcube/binary_sensor.py \
# || die
#sed -e 's;if cube.is_thermostat(device) or cube.is_wallthermostat(device);if device.type == 3 or device.type == 1;' \
# -i components/maxcube/climate.py \
# || die
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,311 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea aws axis bitcoin blockchain blink bmw_connected_drive bravia-tv buienradar +caldav +cast cli ciscomobilityexpress coronavirus daikin darksky delijn denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue iaqualink icloud incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen openwrt owntracks ozw plex plugwise qnap +recorder ring roku roomba rxv samsungtv +scrape signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl synologydsm systemmonitor test tellduslive tradfri ubee unifi vallox vera +version velbus velux webostv wemo wink withings wled wwlln xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.23.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${PYTHON_USEDEP}]"
# causing problems
# ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}]
# from package_constraints.txt
RDEPEND="${RDEPEND}
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.34.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200519.4[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.6.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.16[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.26.3[${PYTHON_USEDEP}]
|| ( >=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )"
# still unknown origin
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-2.8.4[${PYTHON_USEDEP}]
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
>=dev-python/immutables-0.9[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/python-jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.18.4[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/PyQRCode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.41[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.5[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-25[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.15.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.5[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.4[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-5.3.0[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.0[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.0.4[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.8.1[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.1.13[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.38[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.66[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.3[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.9[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.0.1[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}] ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
myq? ( ~dev-python/pymyq-2.0.3[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-3.6.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/haanna-0.15.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.4.2[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.30[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.2.0[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0
app-crypt/certbot
net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.1[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-22[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.3[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.3.0[${PYTHON_USEDEP}] )
wwlln? ( ~dev-python/aiowwlln-2.0.2[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.1[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.5.8[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.20.4[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.16.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.39[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_dirty_hack.patch"
#sed -e 's;if cube.is_windowshutter(device);if device.type == 4;' \
# -i components/maxcube/binary_sensor.py \
# || die
#sed -e 's;if cube.is_thermostat(device) or cube.is_wallthermostat(device);if device.type == 3 or device.type == 1;' \
# -i components/maxcube/climate.py \
# || die
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,304 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ambiclimate ambient_station amcrest androidtv apprise asuswrt atmo atv aurora avea aws axis bitcoin blockchain blink bmw_connected_drive bravia-tv buienradar +caldav +cast cli ciscomobilityexpress coronavirus daikin darksky delijn denonavr discogs dyson emulated_roku enigma enocean esphome everlights envoy flume flunearyou fronius gpiozero growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue iaqualink icloud incomfort influxdb ipma jewish_calendar kef maxcube maxcube_hack metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen openwrt owntracks ozw plex plugwise qnap +recorder ring roku roomba rxv samsungtv +scrape signal sma socat socialblade somfy sonos shodan simplisafe speedtest +ssl synologydsm systemmonitor test tellduslive tradfri ubee unifi vallox vera +version velbus velux webostv wemo wink withings wled xknx yeelight youtube z-wave zigbee zoneminder"
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.23.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${PYTHON_USEDEP}]"
# causing problems
# ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}]
# from package_constraints.txt
RDEPEND="${RDEPEND}
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.34.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200603.3[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.7.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.17[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.27.1[${PYTHON_USEDEP}]
|| ( >=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )"
# still unknown origin
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-2.9.1[${PYTHON_USEDEP}]
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
>=dev-python/immutables-0.9[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/python-jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.18.4[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/PyQRCode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.41[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.6[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-31[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.15.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.5[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.5[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-6.0.0[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.1.2[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.8.1[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.1.13[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.38[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.67[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.17[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb
~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.10[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.5.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.0.1[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/hbmqtt-0.9.5[${PYTHON_USEDEP}] ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] )
virtual/mysql )
myq? ( ~dev-python/pymyq-2.0.4[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.4.2[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.31[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.2.0[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0
app-crypt/certbot
net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.1[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-22[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.7[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.43[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.3[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.5.8[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.20.4[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.16.2[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.40[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,327 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard alarmdecoder ambiclimate ambient_station amcrest androidtv apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr discogs dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb intesishome ipma jewish_calendar kef maxcube maxcube_hack metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nx584 openwrt owntracks ozw plex plugwise powerwall qnap +recorder ring roku roomba rxv samsungtv +scrape shodan signal simplisafe sma smappee socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive test tile toon tradfri ubee unifi vallox velbus velux vera +version vicare webostv wemo wink withings wled xknx xs1 yeelight youtube zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.3.0[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.34.7[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200702.1[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.7.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.27.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-2.9.1[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/python-jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.0[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/PyQRCode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.43[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.1.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.6[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.15.1[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-6.0.0[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.2.0[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.0.39[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.5[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.38[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.67[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.18[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.6.0[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.5.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.2.1[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.11[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.2.0[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.31[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.1.0[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.43[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.6.16.1[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.21.0[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.17.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.41[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,344 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr discogs dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nws nx584 openwrt owntracks ozw plex plugwise powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe sma smappee smarthab socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.34.7[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200716.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.27.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-2.9.2[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/python-jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.0[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/PyQRCode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.1.3[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.45[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.0[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.15.1[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.1.2[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.5[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.45[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.67[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.5.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.2.1[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.11[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.2.0[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.9.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.1.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.43[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.6.16.1[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.42[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,351 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.34.7[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200716.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.27.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-2.9.2[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/python-jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.0[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.1.3[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.46[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.0[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.15.1[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.1.2[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.3.4[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.5[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.45[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.67[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.5.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.2.1[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.11[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.2.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.2[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.9.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.1.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.43[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.0[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.6.16.1[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.42[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,351 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.34.7[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200716.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.27.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-2.9.2[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.0[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-0.19.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.1.3[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.46[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.0[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.15.1[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.1.2[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.3.4[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.5[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.45[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.67[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.5.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.2.1[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.2[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.9.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.1.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.43[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.6.16.1[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.42[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,352 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.1[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.34.7[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200716.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.27.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-2.9.2[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.0[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.1[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.1.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.47[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-3.3.1[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.15.1[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.0[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.3.4[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.1[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.4.0[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.2[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.45[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.67[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.5.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.2.1[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.2[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.9.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.1.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.43[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.6.16.1[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.42[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,356 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.35.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200811.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.0[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.1[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.47[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.0[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.3.4[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.46[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.7.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.1[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.1[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.43[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,357 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack meteo_france metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.35.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200811.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.1[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.0[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.1[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.47[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.0[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.3.4[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.46[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.7.0[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.1[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.1[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.43[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,357 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack meteo_france metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.35.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200811.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.1[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.47[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.1[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.3.4[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.46[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.7.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.1[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.1[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.43[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,360 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv brother buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot freebox fronius gpiozero growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef maxcube maxcube_hack meteo_france metno miio mikrotik mobile_app +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi upnp vallox velbus velux vera +version vicare vizio webostv wemo wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.4.5.1[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.1[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.35.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200811.0[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.18[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
~dev-python/pillow-7.1.2[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.44.0"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.1[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.47[${PYTHON_USEDEP}]
~dev-python/adb-shell-0.2.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.5[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.1[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.7[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-33[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-0.1.14[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.1[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.5.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.2.2[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.3.4[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.41[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.1.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.1[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/aiofreepybox-0.0.8[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.0.4[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.46[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.10.19[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.7.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.3[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}] virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.2[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.0.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.5.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.0[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.1.5[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.32[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.2.4[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.1[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-6.4.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.14.13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.43[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.49[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.3[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.11.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.2[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.22.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.12.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.18.1[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.43[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,372 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv brother buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr devolo dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot freebox fronius gios gpiozero gogogate2 growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef kodi maxcube maxcube_hack meteo_france metno miio mikrotik +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw ping plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan shelly signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi upnp vallox velbus velux vera +version vicare vizio webostv wemo whois wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.6.20[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.37.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200909.0[${PYTHON_USEDEP}]
~dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/pillow-7.2.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.5[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18.0[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]
~dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
!dev-python/enum34[${PYTHON_USEDEP}]
!dev-python/typing[${PYTHON_USEDEP}]
!dev-python/uuid[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.2.1[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.49[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.8[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.8[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-35[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-0.1.17[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.1[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.6.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
devolo? ( ~dev-python/devolo-home-control-api-0.13.0[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.4.1[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.46[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.2.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/aiofreepybox-0.0.8[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-0.1.4[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/gogogate2-api-2.0.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.1.1[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.49[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.11.0[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.1.2[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.8.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.6[${PYTHON_USEDEP}] )
owntracks? ( virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.5[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-1.1.3[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.1.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.6.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.1[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.3.1[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.10[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.33[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.3.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.2[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-7.0.2[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.14.13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.44[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.56[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
whois? ( >=dev-python/python-whois-0.7.3[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.4[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.13.0[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.3[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}]
~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.13.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.23.2[${PYTHON_USEDEP}]
~dev-python/zigpy-znp-0.1.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.20.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.44[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,368 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv brother buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr devolo dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot freebox fronius gios gpiozero gogogate2 growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef kodi maxcube maxcube_hack meteo_france metno miio mikrotik +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw ping plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan shelly signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi upnp vallox velbus velux vera +version vicare vizio webostv wemo whois wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.6.20[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.37.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200909.0[${PYTHON_USEDEP}]
~dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/pillow-7.2.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.5[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18.0[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]
~dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
!dev-python/enum34[${PYTHON_USEDEP}]
!dev-python/typing[${PYTHON_USEDEP}]
!dev-python/uuid[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.2.1[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.49[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.8[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.8[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-35[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-0.1.17[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.1[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-72[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.6.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
devolo? ( ~dev-python/devolo-home-control-api-0.13.0[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.4.1[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.46[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.2.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/aiofreepybox-0.0.8[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-0.1.4[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/gogogate2-api-2.0.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.1.1[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.49[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.11.0[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}]
~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}]
~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.0[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.8.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}]
dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.6[${PYTHON_USEDEP}] )
owntracks? ( virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.5[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-1.1.3[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.1.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.6.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}]
~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.1[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.3.1[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.10[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.33[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.3.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.2[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-7.0.2[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.14.13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.44[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.2.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.56[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
whois? ( >=dev-python/python-whois-0.7.3[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.4[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.13.0[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.3[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}]
~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}]
~dev-python/zigpy-xbee-0.13.0[${PYTHON_USEDEP}]
~dev-python/zigpy-zigate-0.6.2[${PYTHON_USEDEP}]
~dev-python/zigpy-0.23.2[${PYTHON_USEDEP}]
~dev-python/zigpy-znp-0.1.1[${PYTHON_USEDEP}]
~dev-python/bellows-0.20.1[${PYTHON_USEDEP}]
~dev-python/zha-quirks-0.0.44[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}]
~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -1,354 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8} )
inherit readme.gentoo-r1 eutils distutils-r1
MY_PN=${PN}-core
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
DESCRIPTION="Open-source home automation platform running on Python on 3.7"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="abode adguard ads agent_dvr aioguardian alarmdecoder ambiclimate ambient_station amcrest androidtv apache_kafka apprise arcam_fmj asuswrt atmo atv aurora avea awair aws axis bitcoin blink blockchain bmw_connected_drive bravia-tv brother buienradar +caldav +cast ciscomobilityexpress cli coronavirus daikin darksky deconz delijn denonavr devolo dexcom discogs discord dunehd dynalite dyson ecobee emulated_roku enigma enocean environment_canada envoy esphome everlights flume flunearyou foobot freebox fronius gios gpiozero gogogate2 growatt_server growl harmony heos here hkavr holidays homekit homematic homematicip hpilo hs100 hue hydrawise iaqualink icloud ihc incomfort influxdb insteon intesishome ipma jewish_calendar joaoapps_join kef kodi maxcube maxcube_hack meteo_france metno miio mikrotik +mqtt musiccast myq +mysql nederlandse_spoorwegen netdata nuki nws nx584 openwrt owntracks ozw ping plex plugwise poolsense powerwall ps4 qnap +recorder rejseplanen ring roku roomba rxv samsungtv +scrape shodan shelly signal simplisafe skybell sma smappee smarthab smartthings socat socialblade solax somfy sonos speedtest squeezebox +ssl synologydsm systemmonitor tellduslive tesla test tile toon tplink tradfri tuya ubee unifi upnp vallox velbus velux vera +version vicare vizio webostv wemo whois wink withings wled xbox_live xknx xs1 yeelight youtube zerproc zigbee zoneminder z-wave"
# from 2020/04 cleanup to be removed or integrated later
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${PN} acct-user/${PN}
|| ( dev-lang/python:3.7 dev-lang/python:3.8 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# Home Assistant Core dependencies
# from setup.py
RDEPEND="${RDEPEND}
~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-19.3.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.7[${PYTHON_USEDEP}]
>=dev-python/certifi-2020.6.20[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/importlib_metadata-1.6.0[${PYTHON_USEDEP}]' python3_7)
>=dev-python/jinja-2.11.2[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.7.1[${PYTHON_USEDEP}]
~dev-python/cryptography-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-python/requests-2.24.0[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.100[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.4.0[${PYTHON_USEDEP}]
~dev-python/yarl-1.4.2[${PYTHON_USEDEP}]"
# from package_constraints.txt, if not defined earlier
RDEPEND="${RDEPEND}
~dev-python/pynacl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/defusedxml-0.6.0[${PYTHON_USEDEP}]
~dev-python/distro-1.5.0[${PYTHON_USEDEP}]
~dev-python/emoji-0.5.4[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.37.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20200912.0[${PYTHON_USEDEP}]
~dev-python/netdisco-2.8.2[${PYTHON_USEDEP}]
~dev-python/pillow-7.2.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.19[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.28.5[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18.0[${PYTHON_USEDEP}]
!dev-python/pycrypto[${PYTHON_USEDEP}]
~dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
!dev-python/enum34[${PYTHON_USEDEP}]
!dev-python/typing[${PYTHON_USEDEP}]
!dev-python/uuid[${PYTHON_USEDEP}]"
# >=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
# >=dev-python/immutables-0.9[${PYTHON_USEDEP}]
# still unknown origin, some from requirements_all.txt
RDEPEND="${RDEPEND}
~dev-python/base36-0.1.1[${PYTHON_USEDEP}]
~dev-python/colorlog-4.2.1[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
~dev-python/HAP-python-3.0.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.3.3[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.1[${PYTHON_USEDEP}]
~dev-python/passlib-1.7.1[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.3.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.12[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
~dev-python/RestrictedPython-5.0[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
=dev-python/user-agents-2.0-r1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.56.0[${PYTHON_USEDEP}]
~dev-python/xmltodict-0.12.0[${PYTHON_USEDEP}]
~media-libs/mutagen-1.45.1"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/abodepy-1.1.0[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.4.2[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aioguardian? ( ~dev-python/aioguardian-1.0.1[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.3[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-1.2.1[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.7.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.50[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.6.0[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-0.8.8[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-0.5.3[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.2.8[${PYTHON_USEDEP}] )
atmo? ( ~dev-python/pyatmo-4.0.0[${PYTHON_USEDEP}] )
atv? ( >=dev-python/pyatv-0.3.13[${PYTHON_USEDEP}] )
aurora? ( ~dev-python/aurorapy-0.2.6[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.4[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.1.1[${PYTHON_USEDEP}] )
aws? ( ~dev-python/aiobotocore-0.11.1[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-35[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.16.3[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.7.7[${PYTHON_USEDEP}] )
bravia-tv? ( ~dev-python/bravia-tv-1.0.6[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-0.1.17[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.4[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-0.6.1[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-7.2.1[${PYTHON_USEDEP}] )
ciscomobilityexpress? ( ~dev-python/ciscomobilityexpress-0.3.3[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.3.1[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-73[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-0.6.1[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.9.4[${PYTHON_USEDEP}] )
devolo? ( ~dev-python/devolo-home-control-api-0.13.0[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.0[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/discord-py-1.4.1[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.46[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.3[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.7[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma? ( ~dev-python/openwebifpy-3.1.1[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.0[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.2.0[${PYTHON_USEDEP}] )
envoy? ( ~dev-python/envoy-reader-0.16.1[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-2.6.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.5.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-1.0.7[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-0.3.2[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/aiofreepybox-0.0.8[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.4.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-0.1.4[${PYTHON_USEDEP}] )
gpiozero? ( ~dev-python/gpiozero-1.5.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/gogogate2-api-2.0.1[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-0.1.1[${PYTHON_USEDEP}] )
growl? ( ~dev-python/gntp-1.0.3[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.6[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.6.0[${PYTHON_USEDEP}] )
here? ( ~dev-python/herepy-2.0.0[${PYTHON_USEDEP}] )
hkavr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
holidays? ( ~dev-python/holidays-0.10.3[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/aiohomekit-0.2.49[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.68[${PYTHON_USEDEP}] )
homematicip? ( ~dev-python/homematicip-0.11.0[${PYTHON_USEDEP}] )
hpilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.5[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-2.1.0[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.3.4[${PYTHON_USEDEP}] )
icloud? ( ~dev-python/pyicloud-0.9.7[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/ihcsdk-2.7.0[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.0[${PYTHON_USEDEP}] )
influxdb? ( dev-db/influxdb ~dev-python/influxdb-5.2.3[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.8.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.0.7[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.7.5[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-2.0.5[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.9.3[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.6[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.13[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.0[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-0.1.1[${PYTHON_USEDEP}] )
metno? ( ~dev-python/PyMetno-0.8.1[${PYTHON_USEDEP}] )
miio? ( ~dev-python/python-miio-0.5.3[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.0.0[${PYTHON_USEDEP}] )
mqtt? ( ~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}] app-misc/mosquitto )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-2.0.5[${PYTHON_USEDEP}] )
mysql? ( || ( dev-python/mysqlclient[${PYTHON_USEDEP}] dev-python/mysql-python[${PYTHON_USEDEP}] ) virtual/mysql )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.4[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-0.2.0[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.3.8[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.2.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
openwrt? ( ~dev-python/openwrt-luci-rpc-1.1.6[${PYTHON_USEDEP}] )
owntracks? ( virtual/mqtt )
ozw? ( ~dev-python/python-openzwave-mqtt-1.0.5[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-1.1.3[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.1.0[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/Plugwise-Smile-1.1.0[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.2.12[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.1.1[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.6.0[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.6.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.1[${PYTHON_USEDEP}] )
rxv? ( ~dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-1.4.0[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup-4.9.1[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-0.3.1[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.23.0[${PYTHON_USEDEP}] )
signal? ( ~dev-python/pysignalclirestapi-0.3.4[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-9.3.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/skybellpy-0.6.1[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.3.5[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.10[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartthings-0.7.3[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
socialblade? ( ~dev-python/socialbladeclient-0.2[${PYTHON_USEDEP}] )
solax? ( ~dev-python/solax-0.2.3[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.9.0[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.33[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.1.2[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.3.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0 app-crypt/certbot net-proxy/haproxy )
synologydsm? ( ~dev-python/python-synology-0.8.2[${PYTHON_USEDEP}] )
systemmonitor? ( >=dev-python/psutil-5.7.2[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.10.4[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-4.0.0[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.0[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/pyHS100-0.3.5.1[${PYTHON_USEDEP}] )
tradfri? ( >=dev-python/pytradfri-7.0.2[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuyaha-0.0.7[${PYTHON_USEDEP}] )
ubee? ( ~dev-python/pyubee-0.10[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-23[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.14.13[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-2.4.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/python-velbus-2.0.44[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.16[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.9[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-3.4.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-0.2.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.56[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiopylgtv-0.3.3[${PYTHON_USEDEP}] )
wemo? ( >=dev-python/pywemo-0.4.46[${PYTHON_USEDEP}] )
whois? ( >=dev-python/python-whois-0.7.3[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.8[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.1.6[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.4.4[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xknx? ( ~dev-python/xknx-0.13.0[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.5.3[${PYTHON_USEDEP}] )
youtube? ( ~dev-python/youtube_dl-2020.7.28[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.2.5[${PYTHON_USEDEP}] )
zigbee? ( ~dev-python/zigpy-cc-0.5.2[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.9.2[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.13.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.6.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.23.2[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.1.1[${PYTHON_USEDEP}] ~dev-python/bellows-0.20.1[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.44[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.4.0[${PYTHON_USEDEP}] )
z-wave? ( ~dev-python/homeassistant-pyozw-0.1.10[${PYTHON_USEDEP}] ~dev-python/PyDispatcher-2.0.5[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.0[${PYTHON_USEDEP}]
~dev-python/coverage-5.2.1[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.780[${PYTHON_USEDEP}]
~dev-python/pre-commit-2.6.0[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
~dev-python/astroid-2.3.3[${PYTHON_USEDEP}]
~dev-python/pylint-strict-informational-0.1[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.10.0[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-1.32.0[${PYTHON_USEDEP}]
~dev-python/pytest-5.4.3[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.8.0[${PYTHON_USEDEP}]
~dev-python/responses-0.10.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
# https://github.com/home-assistant/home-assistant/issues/28811
if use maxcube_hack ; then
eapply "${FILESDIR}/maxcube_TypeError_01114_dirty_hack.patch"
fi
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -0,0 +1,507 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="abode accuweather acer_projector acmeda adguard ads aftership agent_dvr airly airvisual aladdin_connect alarmdecoder almond alpha_vantage ambiclimate ambient_station amcrest ampio androidtv android_ip_webcam anel_pwrctrl anthemav apache_kafka apcupsd apple_tv apprise aquostv arcam_fmj aruba asuswrt aten_pe atome august aurora_abb_powerone avea avion awair axis backup baidu beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain bluetooth bluetooth_le_tracker bluetooth_tracker bme280 bme680 bmw_connected_drive bond braviatv broadlink brother brottsplatskartan brunt bsblan bt_home_hub_5 bt_smarthub buienradar +caldav camera canary cast cisco_mobility_express cli co2signal compensation coronavirus daikin darksky deconz delijn denonavr deutsche_bahn devolo_home_control dexcom dhcp dht discogs discord discovery dlna_dmr dlna_dms doorbird dunehd +dwd_weather_warnings dynalite dyson ecobee ecowitt emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome ffmpeg fibaro file flume flunearyou flux_led foobot forecast_solar fortios freebox fritz fritzbox fritzbox_callmonitor fritzbox_netmonitor fronius garmin_connect gios github gogogate2 greeneye_monitor growatt_server guardian harman_kardon_avr harmony heos here_travel_time +homekit homekit_controller homematic homematicip_cloud hp_ilo http hue hydrawise iaqualink ihc image_upload imap incomfort influxdb insteon intesishome ipma ipp islamic_prayer_times jewish_calendar joaoapps_join kef knx kodi kraken lifx linode litterrobot local_calendar loopenergy luci luftdaten +mariadb maxcube media_extractor meteo_france mfi mikrotik +mobile_app modbus +mosquitto +mqtt myq mysql nad nederlandse_spoorwegen netatmo netdata +notify_events nuki nws nx584 octoprint onkyo onvif opengarage opensensemap openweathermap opnsense +otp owntracks panasonic_viera philips_js pilight +ping pi_hole +plex plugwise poolsense powerwall ps4 +python_script qnap qvr_pro rachio radio_browser rainbird rainmachine +recorder rejseplanen +rest ring roku roomba roon samsungtv +scrape season shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings +snmp socat solax somfy sonos speedtestdotnet +spotify +sql squeezebox +ssl statsd synology_dsm systemd systemmonitor tankerkoenig tasmota tellduslive tesla test tile tomorrowio toon totalconnect tplink tuya unifi unifi_direct upnp utility_meter vallox velbus velux vera +version vicare vizio +wake_on_lan waqi waze_travel_time webostv wemo whois wink withings wled workday xbox_live xiaomi_aqara xiaomi_miio xiaomi_tv xs1 yamaha yamaha_musiccast yeelight yi zeroconf zerproc zha zhong_hong zoneminder +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant-min
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}]
~dev-python/bleak-0.19.5[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.0[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.61.0[${PYTHON_USEDEP}]
~dev-python/hassil-0.2.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.2[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230202.0[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.1.31[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.6[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-22.4.0
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.1[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-1.4.45[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.5.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.47.1[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/jaraco-abode-3.3.0[${PYTHON_USEDEP}] )
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.3[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.6.1[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-21.11.0[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/AIOAladdinConnect-0.1.56[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.4.2[${PYTHON_USEDEP}] )
almond? ( ~dev-python/pyalmond-0.0.2[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-2021.11.0[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.9.7[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.4.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.7.2[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.10.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-1.2.1[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-1.0.1[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.4.0[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.2[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/yalexs-1.2.6[${PYTHON_USEDEP}] ~dev-python/yalexs-ble-1.12.12[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.7[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.5.1[${PYTHON_USEDEP}] )
avion? ( ~dev-python/avion-0.10[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.2.4[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-46[${PYTHON_USEDEP}] )
backup? ( ~dev-python/securetar-2022.2.0[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.10[${PYTHON_USEDEP}] )
bh1750? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
bizkaibus? ( ~dev-python/bizkaibus-0.1.1[${PYTHON_USEDEP}] )
blackbird? ( ~dev-python/pyblackbird-0.5[${PYTHON_USEDEP}] )
blebox? ( ~dev-python/blebox-uniapi-2.1.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.19.2[${PYTHON_USEDEP}] )
blinksticklight? ( ~dev-python/BlinkStick-1.2.0[${PYTHON_USEDEP}] )
blinkt? ( ~dev-python/blinkt-0.1.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.19.5[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.0[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
bluetooth_tracker? ( ~dev-python/bt-proximity-0.2.1[${PYTHON_USEDEP}] ~dev-python/pybluez-0.22[${PYTHON_USEDEP}] )
bme280? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] ~dev-python/bme280spi-0.2.0[${PYTHON_USEDEP}] )
bme680? ( ~dev-python/bme680-1.0.5[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.12.1[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-async-0.1.22[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/pybravia-0.3.1[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.18.3[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-2.1.1[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-1.2.0[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/python-bsblan-0.5.9[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.3[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.0.1[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.3[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.4[${PYTHON_USEDEP}] )
cisco_mobility_express? ( ~dev-python/ciscomobilityexpress-0.3.9[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.8.0[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-106[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-1.0.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.10.12[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.18.2[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.3[${PYTHON_USEDEP}] )
dhcp? ( ~net-analyzer/scapy-2.5.0 ~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}] )
dht? ( ~dev-python/adafruit-circuitpython-dht-3.7.0[${PYTHON_USEDEP}] ~dev-python/RPi-GPIO-0.7.1_alpha4[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/nextcord-2.0.0_alpha8[${PYTHON_USEDEP}] )
discovery? ( ~dev-python/netdisco-3.0.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
doorbird? ( ~dev-python/DoorBirdPy-2.1.0[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3.2[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.47[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.4[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.14[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.1[${PYTHON_USEDEP}] )
enphase_envoy? ( ~dev-python/envoy-reader-0.20.1[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.5.28[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.3.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.15[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.0.2[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/fiblary3-0.1.8[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.6.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-2.0.2[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.28.35[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-1.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fortios? ( ~dev-python/fortiosapi-1.0.5[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/freebox-api-1.0.1[${PYTHON_USEDEP}] )
fritz? ( ~dev-python/fritzconnection-1.10.3[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.6.7[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.10.3[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.4.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-ha-0.1.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-2.3.0[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/ismartgate-4.0.4[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-3.0.3[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-1.3.0[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-2022.7.0[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.9[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.7.2[${PYTHON_USEDEP}] )
here_travel_time? ( ~dev-python/here-routing-0.2.0[${PYTHON_USEDEP}] ~dev-python/here-transit-1.2.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.4.6[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.77[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-1.0.13[${PYTHON_USEDEP}] )
hp_ilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-4.6.1[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.5.0[${PYTHON_USEDEP}] ~dev-python/h2-4.1.0[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.7.6[${PYTHON_USEDEP}] )
image_upload? ( ~dev-python/pillow-9.4.0[${PYTHON_USEDEP}] )
imap? ( ~dev-python/aioimaplib-1.0.1[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.4.4[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.2.0[${PYTHON_USEDEP}] ~dev-python/insteon-frontend-home-assistant-0.2.0[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.8.0[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-3.0.6[${PYTHON_USEDEP}] )
ipp? ( ~dev-python/pyipp-0.12.1[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer-times-calculator-0.0.6[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.10.4[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.9[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.16[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.3.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
lifx? ( ~dev-python/aiolifx-0.8.9[${PYTHON_USEDEP}] ~dev-python/aiolifx-effects-0.3.1[${PYTHON_USEDEP}] ~dev-python/aiolifx-themes-0.4.0[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
litterrobot? ( ~dev-python/pylitterbot-2023.1.1[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.2.9[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.11[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.7.4[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
media_extractor? ( ~dev-python/youtube-dl-2021.12.17[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-1.1.0[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.1[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.3.0[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.5[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-7.5.0[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-1.0.1[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.6.0[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.4.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onkyo? ( ~dev-python/onkyo-eiscp-1.2.7[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.2.0[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.2.0[${PYTHON_USEDEP}] )
openweathermap? ( ~dev-python/pyowm-3.2.0[${PYTHON_USEDEP}] )
opnsense? ( ~dev-python/pyopnsense-0.2.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-3.0.0[${PYTHON_USEDEP}] )
pilight? ( ~dev-python/pilight-0.1.1[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
pi_hole? ( ~dev-python/hole-0.8.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/plugwise-0.27.5[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.3.19[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
rachio? ( ~dev-python/RachioPy-1.0.3[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
rainbird? ( ~dev-python/pyrainbird-2.0.0[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-2022.11.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-1.4.45[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.17.0[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.5[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.1.3[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.28.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-2022.12.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/aioskybell-22.7.0[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.7.3[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.29[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartapp-0.3.3[${PYTHON_USEDEP}] ~dev-python/pysmartthings-0.7.6[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.20[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
solax? ( ~dev-python/solax-0.3.0[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.11.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/soco-0.29.0[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-1.4.45[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.6.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
statsd? ( ~dev-python/statsd-3.2.1[${PYTHON_USEDEP}] )
synology_dsm? ( ~dev-python/py-synologydsm-api-2.1.4[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.3[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.18.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.1[${PYTHON_USEDEP}] )
totalconnect? ( ~dev-python/total-connect-client-2023.1[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.0[${PYTHON_USEDEP}] )
tuya? ( ~dev-python/tuya-iot-py-sdk-0.6.6[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-44[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-3.0.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/velbus-aio-2022.12.0[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.20[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.13[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-2.21.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.57[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.14[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiowebostv-0.3.2[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.23[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.9[${PYTHON_USEDEP}] ~dev-python/python-wink-1.10.5[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.4.0[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.15.0[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.18[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.14.3[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.10.56[${PYTHON_USEDEP}] ~dev-python/micloud-0.5[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.12[${PYTHON_USEDEP}] )
xiaomi_tv? ( ~dev-python/pymitv-1.4.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.7[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.7.10[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.21.3[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.47.1[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.4.8[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.7[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.92[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.53.0[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.2[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.5.2[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.44.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.12.14[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-7.0.5[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-0.991[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.3.1[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.0.0
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.15.10[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.2[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/core-${MY_PV}"
DOCS="README.rst"
src_prepare() {
if use test ; then
cp -r ${WORKDIR}/core-${MY_PV}/tests ${S}
fi
distutils-r1_src_prepare
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,511 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="abode accuweather acer_projector acmeda adguard ads aftership agent_dvr airly airvisual aladdin_connect alarmdecoder almond alpha_vantage ambiclimate ambient_station amcrest ampio androidtv android_ip_webcam anel_pwrctrl anthemav apache_kafka apcupsd apple_tv apprise aquostv arcam_fmj aruba asuswrt aten_pe atome august aurora_abb_powerone avea avion awair axis backup baidu beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain bluetooth bluetooth_le_tracker bluetooth_tracker bme280 bme680 bmw_connected_drive bond braviatv broadlink brother brottsplatskartan brunt bsblan bt_home_hub_5 bt_smarthub buienradar +caldav camera canary cast cisco_mobility_express cli co2signal compensation coronavirus daikin darksky deconz delijn denonavr deutsche_bahn devolo_home_control dexcom dhcp dht discogs discord discovery dlna_dmr dlna_dms doorbird dunehd +dwd_weather_warnings dynalite dyson ecobee ecowitt emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome ffmpeg fibaro file flume flunearyou flux_led foobot forecast_solar fortios freebox fritz fritzbox fritzbox_callmonitor fritzbox_netmonitor fronius garmin_connect gios github gogogate2 greeneye_monitor growatt_server guardian harman_kardon_avr harmony heos here_travel_time +homekit homekit_controller homematic homematicip_cloud hp_ilo http hue hydrawise iaqualink ihc image_upload imap incomfort influxdb insteon intesishome ipma ipp islamic_prayer_times jewish_calendar joaoapps_join kef knx kodi kraken lifx linode litterrobot local_calendar loopenergy luci luftdaten +mariadb maxcube media_extractor meteo_france mfi mikrotik +mobile_app modbus +mosquitto +mqtt myq mysql nad nederlandse_spoorwegen netatmo netdata +notify_events nuki nws nx584 octoprint onkyo onvif opengarage opensensemap openweathermap opnsense +otp owntracks panasonic_viera philips_js pilight +ping pi_hole +plex plugwise poolsense powerwall ps4 +python_script qnap qvr_pro rachio radio_browser rainbird rainmachine +recorder rejseplanen +rest ring roku roomba roon samsungtv +scrape season shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings +snmp socat solax somfy sonos speedtestdotnet +spotify +sql squeezebox +ssl statsd synology_dsm systemd systemmonitor tankerkoenig tasmota tellduslive tesla test tile tomorrowio toon totalconnect tplink tts tuya unifi unifi_direct upnp utility_meter vallox velbus velux vera +version vicare vizio +wake_on_lan waqi waze_travel_time webostv wemo whois wink withings wled workday xbox_live xiaomi_aqara xiaomi_miio xiaomi_tv xs1 yamaha yamaha_musiccast yeelight yi zeroconf zerproc zha zhong_hong zoneminder +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant-min
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}]
~dev-python/bleak-0.19.5[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.1[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.61.0[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230309.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.2.28[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.47.3[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/jaraco-abode-3.3.0[${PYTHON_USEDEP}] )
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.3[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.6.1[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-21.11.0[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/AIOAladdinConnect-0.1.56[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.4.2[${PYTHON_USEDEP}] )
almond? ( ~dev-python/pyalmond-0.0.2[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-2021.11.0[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.9.7[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.4.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.7.2[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.10.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-1.2.1[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-1.2.1[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.4.0[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.2[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/yalexs-1.2.7[${PYTHON_USEDEP}] ~dev-python/yalexs-ble-2.1.1[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.7[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.5.1[${PYTHON_USEDEP}] )
avion? ( ~dev-python/avion-0.10[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.2.4[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
backup? ( ~dev-python/securetar-2022.2.0[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.10[${PYTHON_USEDEP}] )
bh1750? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
bizkaibus? ( ~dev-python/bizkaibus-0.1.1[${PYTHON_USEDEP}] )
blackbird? ( ~dev-python/pyblackbird-0.5[${PYTHON_USEDEP}] )
blebox? ( ~dev-python/blebox-uniapi-2.1.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.19.2[${PYTHON_USEDEP}] )
blinksticklight? ( ~dev-python/BlinkStick-1.2.0[${PYTHON_USEDEP}] )
blinkt? ( ~dev-python/blinkt-0.1.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.19.5[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.1[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
bluetooth_tracker? ( ~dev-python/bt-proximity-0.2.1[${PYTHON_USEDEP}] ~dev-python/pybluez-0.22[${PYTHON_USEDEP}] )
bme280? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] ~dev-python/bme280spi-0.2.0[${PYTHON_USEDEP}] )
bme680? ( ~dev-python/bme680-1.0.5[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.12.1[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-async-0.1.23[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/pybravia-0.3.1[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.18.3[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-2.2.0[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-1.2.0[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/python-bsblan-0.5.9[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.3[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.3[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.4[${PYTHON_USEDEP}] )
cisco_mobility_express? ( ~dev-python/ciscomobilityexpress-0.3.9[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.9.0[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-110[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-1.0.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.11.1[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.18.2[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.3[${PYTHON_USEDEP}] )
dhcp? ( ~net-analyzer/scapy-2.5.0 ~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}] )
dht? ( ~dev-python/adafruit-circuitpython-dht-3.7.0[${PYTHON_USEDEP}] ~dev-python/RPi-GPIO-0.7.1_alpha4[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/nextcord-2.0.0_alpha8[${PYTHON_USEDEP}] )
discovery? ( ~dev-python/netdisco-3.0.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
doorbird? ( ~dev-python/DoorBirdPy-2.1.0[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3.2[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.47[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.4[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.14[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.1[${PYTHON_USEDEP}] )
enphase_envoy? ( ~dev-python/envoy-reader-0.20.1[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.5.29[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.5.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.15[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/pyfibaro-0.6.9[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.6.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-2.0.2[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.28.35[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-1.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fortios? ( ~dev-python/fortiosapi-1.0.5[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/freebox-api-1.1.0[${PYTHON_USEDEP}] )
fritz? ( ~dev-python/fritzconnection-1.11.0[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.6.7[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.11.0[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.4.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-ha-0.1.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-2.3.0[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/ismartgate-5.0.0[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-3.0.3[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-1.3.0[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-2022.7.0[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.10[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.7.2[${PYTHON_USEDEP}] )
here_travel_time? ( ~dev-python/here-routing-0.2.0[${PYTHON_USEDEP}] ~dev-python/here-transit-1.2.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.1[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.77[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-1.0.13[${PYTHON_USEDEP}] )
hp_ilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-4.6.2[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.5.0[${PYTHON_USEDEP}] ~dev-python/h2-4.1.0[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.7.6[${PYTHON_USEDEP}] )
image_upload? ( ~dev-python/pillow-9.4.0[${PYTHON_USEDEP}] )
imap? ( ~dev-python/aioimaplib-1.0.1[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.5.0[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.3.4[${PYTHON_USEDEP}] ~dev-python/insteon-frontend-home-assistant-0.3.3[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.8.0[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-3.0.6[${PYTHON_USEDEP}] )
ipp? ( ~dev-python/pyipp-0.12.1[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer-times-calculator-0.0.6[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.10.4[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.9[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.16[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.6.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
lifx? ( ~dev-python/aiolifx-0.8.9[${PYTHON_USEDEP}] ~dev-python/aiolifx-effects-0.3.1[${PYTHON_USEDEP}] ~dev-python/aiolifx-themes-0.4.0[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
litterrobot? ( ~dev-python/pylitterbot-2023.1.1[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.2.9[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.11[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.7.4[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
media_extractor? ( ~dev-python/youtube-dl-2021.12.17[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-1.2.0[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.3.0[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.5[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-7.5.0[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-1.0.1[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.6.0[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.4.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onkyo? ( ~dev-python/onkyo-eiscp-1.2.7[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.2.0[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.2.0[${PYTHON_USEDEP}] )
openweathermap? ( ~dev-python/pyowm-3.2.0[${PYTHON_USEDEP}] )
opnsense? ( ~dev-python/pyopnsense-0.2.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-3.0.0[${PYTHON_USEDEP}] )
pilight? ( ~dev-python/pilight-0.1.1[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
pi_hole? ( ~dev-python/hole-0.8.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/plugwise-0.27.5[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.3.19[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
rachio? ( ~dev-python/RachioPy-1.0.3[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
rainbird? ( ~dev-python/pyrainbird-2.0.0[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-2022.11.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.17.1[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.6[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.1.3[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.28.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-2022.12.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/aioskybell-22.7.0[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.7.3[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.29[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartapp-0.3.3[${PYTHON_USEDEP}] ~dev-python/pysmartthings-0.7.6[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.20[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
solax? ( ~dev-python/solax-0.3.0[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.11.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.6.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
statsd? ( ~dev-python/statsd-3.2.1[${PYTHON_USEDEP}] )
synology_dsm? ( ~dev-python/py-synologydsm-api-2.1.4[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.18.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.1[${PYTHON_USEDEP}] )
totalconnect? ( ~dev-python/total-connect-client-2023.2[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
tts? ( ~media-libs/mutagen-1.46.0 )
tuya? ( ~dev-python/tuya-iot-py-sdk-0.6.6[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-44[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-3.0.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/velbus-aio-2023.2.0[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.20[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.13[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-2.21.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.57[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.14[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiowebostv-0.3.2[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.9[${PYTHON_USEDEP}] ~dev-python/python-wink-1.10.5[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.4.0[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.15.0[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.18[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.14.3[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.10.56[${PYTHON_USEDEP}] ~dev-python/micloud-0.5[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.12[${PYTHON_USEDEP}] )
xiaomi_tv? ( ~dev-python/pymitv-1.4.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.7.10[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.21.3[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.47.3[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.4.8[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.10[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.94[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.53.2[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.3[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.5.2[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.46.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.14.1[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-7.1.0[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.0.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.5.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.0.0
~dev-python/pydantic-1.10.5[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.16.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
src_prepare() {
if use test ; then
cp -r ${WORKDIR}/core-${MY_PV}/tests ${S}
fi
distutils-r1_src_prepare
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,502 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
S="${WORKDIR}/core-${MY_PV}"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="abode accuweather acer_projector acmeda adguard ads aftership agent_dvr airly airvisual aladdin_connect alarmdecoder almond alpha_vantage ambiclimate ambient_station amcrest ampio androidtv android_ip_webcam anel_pwrctrl anthemav apache_kafka apcupsd apple_tv apprise aquostv arcam_fmj aruba asuswrt aten_pe atome august aurora_abb_powerone avea avion awair axis backup baidu beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain bluetooth bluetooth_le_tracker bluetooth_tracker bme280 bme680 bmw_connected_drive bond braviatv broadlink brother brottsplatskartan brunt bsblan bt_home_hub_5 bt_smarthub buienradar +caldav camera canary cast cisco_mobility_express cli co2signal compensation coronavirus daikin darksky deconz delijn denonavr deutsche_bahn devolo_home_control dexcom dhcp dht discogs discord discovery dlna_dmr dlna_dms doorbird dunehd +dwd_weather_warnings dynalite dyson ecobee ecowitt emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome ffmpeg fibaro file flume flunearyou flux_led foobot forecast_solar fortios freebox fritz fritzbox fritzbox_callmonitor fritzbox_netmonitor fronius garmin_connect gios github gogogate2 greeneye_monitor growatt_server guardian harman_kardon_avr harmony heos here_travel_time +homekit homekit_controller homematic homematicip_cloud hp_ilo http hue hydrawise iaqualink ihc image_upload imap incomfort influxdb insteon intesishome ipma ipp islamic_prayer_times jewish_calendar joaoapps_join kef knx kodi kraken lifx linode litterrobot local_calendar loopenergy luci luftdaten +mariadb maxcube media_extractor meteo_france mfi mikrotik +mobile_app modbus +mosquitto +mqtt myq mysql nad nederlandse_spoorwegen netatmo netdata +notify_events nuki nws nx584 octoprint onkyo onvif opengarage opensensemap openweathermap opnsense +otp owntracks panasonic_viera philips_js pilight +ping pi_hole +plex plugwise poolsense powerwall ps4 +python_script qnap qvr_pro rachio radio_browser rainbird rainmachine +recorder rejseplanen +rest ring roku roomba roon samsungtv +scrape season shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings +snmp socat solax somfy sonos speedtestdotnet +spotify +sql squeezebox +ssl statsd synology_dsm systemd systemmonitor tankerkoenig tasmota tellduslive tesla test tile tomorrowio toon totalconnect tplink tts tuya unifi unifi_direct upnp utility_meter vallox velbus velux vera +version vicare vizio +wake_on_lan waqi waze_travel_time webostv wemo whois wink withings wled workday xbox_live xiaomi_aqara xiaomi_miio xiaomi_tv xs1 yamaha yamaha_musiccast yeelight yi zeroconf zerproc zha zhong_hong zoneminder +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant-min
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}]
~dev-python/bleak-0.19.5[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.1[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.61.0[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230309.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.2.28[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.47.3[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/jaraco-abode-3.3.0[${PYTHON_USEDEP}] )
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.3[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.6.1[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-21.11.0[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/AIOAladdinConnect-0.1.56[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.4.2[${PYTHON_USEDEP}] )
almond? ( ~dev-python/pyalmond-0.0.2[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-2021.11.0[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.9.7[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.4.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.7.2[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.10.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-1.2.1[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-1.2.1[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.4.0[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.2[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/yalexs-1.2.7[${PYTHON_USEDEP}] ~dev-python/yalexs-ble-2.1.1[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.7[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.5.1[${PYTHON_USEDEP}] )
avion? ( ~dev-python/avion-0.10[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.2.4[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
backup? ( ~dev-python/securetar-2022.2.0[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.10[${PYTHON_USEDEP}] )
bh1750? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
bizkaibus? ( ~dev-python/bizkaibus-0.1.1[${PYTHON_USEDEP}] )
blackbird? ( ~dev-python/pyblackbird-0.5[${PYTHON_USEDEP}] )
blebox? ( ~dev-python/blebox-uniapi-2.1.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.19.2[${PYTHON_USEDEP}] )
blinksticklight? ( ~dev-python/BlinkStick-1.2.0[${PYTHON_USEDEP}] )
blinkt? ( ~dev-python/blinkt-0.1.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.19.5[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-2.13.0[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.1[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
bluetooth_tracker? ( ~dev-python/bt-proximity-0.2.1[${PYTHON_USEDEP}] ~dev-python/pybluez-0.22[${PYTHON_USEDEP}] )
bme280? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] ~dev-python/bme280spi-0.2.0[${PYTHON_USEDEP}] )
bme680? ( ~dev-python/bme680-1.0.5[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.12.1[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-async-0.1.23[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/pybravia-0.3.1[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.18.3[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-2.2.0[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-1.2.0[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/python-bsblan-0.5.9[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.3[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.3[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.4[${PYTHON_USEDEP}] )
cisco_mobility_express? ( ~dev-python/ciscomobilityexpress-0.3.9[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.9.0[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-110[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-1.0.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.11.1[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.18.2[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.3[${PYTHON_USEDEP}] )
dhcp? ( ~net-analyzer/scapy-2.5.0 ~dev-python/aiodiscover-1.4.13[${PYTHON_USEDEP}] )
dht? ( ~dev-python/adafruit-circuitpython-dht-3.7.0[${PYTHON_USEDEP}] ~dev-python/RPi-GPIO-0.7.1_alpha4[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/nextcord-2.0.0_alpha8[${PYTHON_USEDEP}] )
discovery? ( ~dev-python/netdisco-3.0.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
doorbird? ( ~dev-python/DoorBirdPy-2.1.0[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3.2[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.47[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.4[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.14[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.1[${PYTHON_USEDEP}] )
enphase_envoy? ( ~dev-python/envoy-reader-0.20.1[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.5.29[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.5.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.15[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/pyfibaro-0.6.9[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.6.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-2.0.2[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.28.35[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-1.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fortios? ( ~dev-python/fortiosapi-1.0.5[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/freebox-api-1.1.0[${PYTHON_USEDEP}] )
fritz? ( ~dev-python/fritzconnection-1.11.0[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.6.7[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.11.0[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.4.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-ha-0.1.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-2.3.0[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/ismartgate-5.0.0[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-3.0.3[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-1.3.0[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-2022.7.0[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.10[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.7.2[${PYTHON_USEDEP}] )
here_travel_time? ( ~dev-python/here-routing-0.2.0[${PYTHON_USEDEP}] ~dev-python/here-transit-1.2.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.1[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.77[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-1.0.13[${PYTHON_USEDEP}] )
hp_ilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-4.6.2[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.5.0[${PYTHON_USEDEP}] ~dev-python/h2-4.1.0[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.7.6[${PYTHON_USEDEP}] )
image_upload? ( ~dev-python/pillow-9.4.0[${PYTHON_USEDEP}] )
imap? ( ~dev-python/aioimaplib-1.0.1[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.5.0[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.3.4[${PYTHON_USEDEP}] ~dev-python/insteon-frontend-home-assistant-0.3.3[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.8.0[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-3.0.6[${PYTHON_USEDEP}] )
ipp? ( ~dev-python/pyipp-0.12.1[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer-times-calculator-0.0.6[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.10.4[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.9[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.16[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.6.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
lifx? ( ~dev-python/aiolifx-0.8.9[${PYTHON_USEDEP}] ~dev-python/aiolifx-effects-0.3.1[${PYTHON_USEDEP}] ~dev-python/aiolifx-themes-0.4.0[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
litterrobot? ( ~dev-python/pylitterbot-2023.1.1[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.2.9[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.11[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.7.4[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
media_extractor? ( ~dev-python/youtube-dl-2021.12.17[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-1.2.0[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.3.0[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.5[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-7.5.0[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-1.0.1[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.6.0[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.4.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onkyo? ( ~dev-python/onkyo-eiscp-1.2.7[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.1[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.2.0[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.2.0[${PYTHON_USEDEP}] )
openweathermap? ( ~dev-python/pyowm-3.2.0[${PYTHON_USEDEP}] )
opnsense? ( ~dev-python/pyopnsense-0.2.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-3.0.0[${PYTHON_USEDEP}] )
pilight? ( ~dev-python/pilight-0.1.1[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
pi_hole? ( ~dev-python/hole-0.8.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/plugwise-0.27.5[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.3.19[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
rachio? ( ~dev-python/RachioPy-1.0.3[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
rainbird? ( ~dev-python/pyrainbird-2.0.0[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-2022.11.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.17.1[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.6[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.1.3[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.28.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-2022.12.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/aioskybell-22.7.0[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.7.3[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.29[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartapp-0.3.3[${PYTHON_USEDEP}] ~dev-python/pysmartthings-0.7.6[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.20[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
solax? ( ~dev-python/solax-0.3.0[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.11.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.6[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.6.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
statsd? ( ~dev-python/statsd-3.2.1[${PYTHON_USEDEP}] )
synology_dsm? ( ~dev-python/py-synologydsm-api-2.1.4[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.18.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2022.2.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.1[${PYTHON_USEDEP}] )
totalconnect? ( ~dev-python/total-connect-client-2023.2[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
tts? ( ~media-libs/mutagen-1.46.0 )
tuya? ( ~dev-python/tuya-iot-py-sdk-0.6.6[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-44[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-3.0.0[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/velbus-aio-2023.2.0[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.20[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.13[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-2.21.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.57[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.14[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiowebostv-0.3.2[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.9[${PYTHON_USEDEP}] ~dev-python/python-wink-1.10.5[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.4.0[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.15.0[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.18[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.14.3[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.10.56[${PYTHON_USEDEP}] ~dev-python/micloud-0.5[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.12[${PYTHON_USEDEP}] )
xiaomi_tv? ( ~dev-python/pymitv-1.4.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.7.10[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.21.3[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.47.3[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.4.8[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.34.10[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.94[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.19.2[${PYTHON_USEDEP}] ~dev-python/zigpy-0.53.2[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.16.2[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.9.3[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.5.2[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.46.0[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.14.1[${PYTHON_USEDEP}]
~dev-python/codecov-2.1.12[${PYTHON_USEDEP}]
~dev-python/coverage-7.1.0[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.0.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.5.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.0.0
~dev-python/pydantic-1.10.5[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.16.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.5[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

View File

@ -0,0 +1,514 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="homeassistant"
inherit distutils-r1 pypi readme.gentoo-r1 systemd
MY_PN=homeassistant
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/home-assistant/core.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/core/"
else
MY_PV=${PV/_beta/b}
MY_P=${MY_PN}-${MY_PV}
SRC_URI="$(pypi_sdist_url)
https://github.com/home-assistant/core/archive/${MY_PV}.tar.gz -> ${MY_P}.gh.tar.gz"
fi
DESCRIPTION="Open-source home automation platform running on Python."
HOMEPAGE="https://home-assistant.io/ https://git.edevau.net/onkelbeh/HomeAssistantRepository/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="abode accuweather acer_projector acmeda adguard ads aftership agent_dvr airly airvisual aladdin_connect alarmdecoder almond alpha_vantage ambiclimate ambient_station amcrest ampio androidtv android_ip_webcam anel_pwrctrl anthemav apache_kafka apcupsd apple_tv apprise aquostv arcam_fmj aruba asuswrt aten_pe atome august aurora_abb_powerone avea avion awair axis backup baidu beewi_smartclim bh1750 bitcoin bizkaibus blackbird blebox blink blinksticklight blinkt blockchain bluetooth bluetooth_le_tracker bluetooth_tracker bme280 bme680 bmw_connected_drive bond braviatv broadlink brother brottsplatskartan brunt bsblan bt_home_hub_5 bt_smarthub buienradar +caldav camera canary cast cisco_mobility_express cli co2signal compensation coronavirus daikin darksky deconz delijn denonavr deutsche_bahn devolo_home_control dexcom dhcp dht discogs discord discovery dlna_dmr dlna_dms doorbird dunehd +dwd_weather_warnings dynalite dyson ecobee ecowitt emulated_roku enigma2 enocean enphase_envoy environment_canada esphome everlights evohome ffmpeg fibaro file flume flunearyou flux_led foobot forecast_solar fortios freebox fritz fritzbox fritzbox_callmonitor fritzbox_netmonitor fronius garmin_connect gios github gogogate2 greeneye_monitor growatt_server guardian harman_kardon_avr harmony heos here_travel_time +homekit homekit_controller homematic homematicip_cloud hp_ilo http hue hydrawise iaqualink ihc image_upload imap incomfort influxdb insteon intesishome ipma ipp islamic_prayer_times jewish_calendar joaoapps_join kef knx kodi kraken lifx linode litterrobot local_calendar loopenergy luci luftdaten +mariadb maxcube media_extractor meteo_france mfi mikrotik +mobile_app modbus +mosquitto +mqtt myq mysql nad nederlandse_spoorwegen netatmo netdata +notify_events nuki nws nx584 octoprint onkyo onvif opengarage opensensemap openweathermap opnsense +otp owntracks panasonic_viera philips_js pilight +ping pi_hole +plex plugwise poolsense powerwall ps4 +python_script qnap qvr_pro rachio radio_browser rainbird rainmachine +recorder rejseplanen +rest ring roku roomba roon samsungtv +scrape season shelly shodan signal_messenger simplisafe skybell sma smappee smarthab smartthings +snmp socat solax somfy sonos speedtestdotnet +spotify +sql squeezebox +ssl statsd synology_dsm systemd systemmonitor tankerkoenig tasmota tellduslive tesla test tile tomorrowio toon totalconnect tplink tts tuya unifi unifi_direct upnp utility_meter vallox velbus velux vera +version vicare vizio +wake_on_lan waqi waze_travel_time webostv wemo whois wink withings wled workday xbox_live xiaomi_aqara xiaomi_miio xiaomi_tv xs1 yamaha yamaha_musiccast yeelight yi zeroconf zerproc zha zhong_hong zoneminder +zwave_js"
RESTRICT="!test? ( test )"
# external deps
RDEPEND="${PYTHON_DEPS} acct-group/${MY_PN} acct-user/${MY_PN}
|| ( dev-lang/python:3.9 dev-lang/python:3.10 dev-lang/python:3.11 )
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1"
# make sure no conflicting main Ebuild is installed
RDEPEND="${RDEPEND}
!app-misc/homeassistant-min
!app-misc/homeassistant-full"
# Home Assistant Core dependencies
# from package_constraints.txt
RDEPEND="${RDEPEND}
~dev-python/aiodiscover-1.4.16[${PYTHON_USEDEP}]
~dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]
~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
~dev-python/astral-2.2[${PYTHON_USEDEP}]
~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}]
~dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
~dev-python/atomicwrites-homeassistant-1.4.1[${PYTHON_USEDEP}]
~dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
<dev-python/Authlib-1.0[${PYTHON_USEDEP}]
~dev-python/awesomeversion-22.9.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-4.0.1[${PYTHON_USEDEP}]
~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}]
~dev-python/bleak-0.20.1[${PYTHON_USEDEP}]
~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}]
~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}]
>=dev-python/btlewrap-0.0.10[${PYTHON_USEDEP}]
>=dev-python/certifi-2021.5.30[${PYTHON_USEDEP}]
~dev-python/ciso8601-2.3.0[${PYTHON_USEDEP}]
~dev-python/cryptography-40.0.1[${PYTHON_USEDEP}]
~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}]
>=dev-python/faust-cchardet-2.1.18[${PYTHON_USEDEP}]
~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}]
~dev-python/grpcio-reflection-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-status-1.51.1[${PYTHON_USEDEP}]
~dev-python/grpcio-1.51.1[${PYTHON_USEDEP}]
~dev-python/h11-0.14.0[${PYTHON_USEDEP}]
~dev-python/ha-av-10.0.0[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.63.1[${PYTHON_USEDEP}]
~dev-python/hassil-1.0.6[${PYTHON_USEDEP}]
~dev-python/home-assistant-bluetooth-1.9.3[${PYTHON_USEDEP}]
~dev-python/home-assistant-frontend-20230411.1[${PYTHON_USEDEP}]
~dev-python/home-assistant-intents-2023.3.29[${PYTHON_USEDEP}]
~dev-python/httpcore-0.16.3[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.19.0[${PYTHON_USEDEP}]
~dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
>=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
~dev-python/janus-1.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
~dev-python/libcst-0.3.23[${PYTHON_USEDEP}]
~dev-python/lru-dict-1.1.8[${PYTHON_USEDEP}]
~dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
>=dev-python/multidict-6.0.2[${PYTHON_USEDEP}]
~dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
~dev-python/orjson-3.8.7[${PYTHON_USEDEP}]
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/pandas-1.4.3[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
<dev-python/pip-23.1
~dev-python/psutil-home-assistant-0.0.1[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.6.6[${PYTHON_USEDEP}]
~dev-python/pyjwt-2.6.0[${PYTHON_USEDEP}]
~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyopenssl-23.1.0[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/python-engineio-3.13.1[${PYTHON_USEDEP}]
<dev-python/python-engineio-4[${PYTHON_USEDEP}]
~dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}]
>=dev-python/python-socketio-4.6.0[${PYTHON_USEDEP}]
<dev-python/python-socketio-5.0[${PYTHON_USEDEP}]
~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}]
~dev-python/pyudev-0.23.2[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
~dev-python/regex-2021.8.28[${PYTHON_USEDEP}]
~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
~net-analyzer/scapy-2.5.0
~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
<dev-python/typing-extensions-5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '~dev-python/uamqp-1.6.0[${PYTHON_USEDEP}]' python3_{9..10})
~dev-python/ulid-transform-0.6.3[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.6.0[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.13.1[${PYTHON_USEDEP}]
>=dev-python/websockets-11.0.1[${PYTHON_USEDEP}]
~dev-python/yarl-1.8.1[${PYTHON_USEDEP}]
~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}]"
# unknown origin, still something to clean up here
# some moved to suggested USE Flags
#
RDEPEND="${RDEPEND}
~dev-python/colorlog-6.6.0[${PYTHON_USEDEP}]
~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.57.0[${PYTHON_USEDEP}]"
# Module requirements from useflags
RDEPEND="${RDEPEND}
abode? ( ~dev-python/jaraco-abode-3.3.0[${PYTHON_USEDEP}] )
accuweather? ( ~dev-python/accuweather-0.5.0[${PYTHON_USEDEP}] )
acer_projector? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] )
acmeda? ( ~dev-python/aiopulse-0.4.3[${PYTHON_USEDEP}] )
adguard? ( ~dev-python/adguardhome-0.6.1[${PYTHON_USEDEP}] )
ads? ( ~dev-python/pyads-3.2.2[${PYTHON_USEDEP}] )
aftership? ( ~dev-python/pyaftership-21.11.0[${PYTHON_USEDEP}] )
agent_dvr? ( ~dev-python/agent-py-0.0.23[${PYTHON_USEDEP}] )
airly? ( ~dev-python/airly-1.1.0[${PYTHON_USEDEP}] )
airvisual? ( ~dev-python/pyairvisual-2022.12.1[${PYTHON_USEDEP}] )
aladdin_connect? ( ~dev-python/AIOAladdinConnect-0.1.56[${PYTHON_USEDEP}] )
alarmdecoder? ( ~dev-python/adext-0.4.2[${PYTHON_USEDEP}] )
almond? ( ~dev-python/pyalmond-0.0.2[${PYTHON_USEDEP}] )
alpha_vantage? ( ~dev-python/alpha-vantage-2.3.1[${PYTHON_USEDEP}] )
ambiclimate? ( ~dev-python/Ambiclimate-0.2.1[${PYTHON_USEDEP}] )
ambient_station? ( ~dev-python/aioambient-2023.4.0[${PYTHON_USEDEP}] )
amcrest? ( ~dev-python/amcrest-1.9.7[${PYTHON_USEDEP}] )
ampio? ( ~dev-python/asmog-0.0.6[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/adb-shell-0.4.3[${PYTHON_USEDEP}] ~dev-python/androidtv-0.0.70[${PYTHON_USEDEP}] ~dev-python/pure-python-adb-0.3.0[${PYTHON_USEDEP}] )
android_ip_webcam? ( ~dev-python/pydroid-ipcam-2.0.0[${PYTHON_USEDEP}] )
anel_pwrctrl? ( ~dev-python/anel-pwrctrl-homeassistant-0.0.1[${PYTHON_USEDEP}] )
anthemav? ( ~dev-python/anthemav-1.4.1[${PYTHON_USEDEP}] )
apache_kafka? ( ~dev-python/aiokafka-0.7.2[${PYTHON_USEDEP}] )
apcupsd? ( ~dev-python/apcaccess-0.0.13[${PYTHON_USEDEP}] )
apple_tv? ( ~dev-python/pyatv-0.10.3[${PYTHON_USEDEP}] )
apprise? ( ~dev-python/apprise-1.3.0[${PYTHON_USEDEP}] )
aquostv? ( ~dev-python/sharp_aquos_rc-0.3.2[${PYTHON_USEDEP}] )
arcam_fmj? ( ~dev-python/arcam-fmj-1.2.1[${PYTHON_USEDEP}] )
aruba? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.4.0[${PYTHON_USEDEP}] )
aten_pe? ( ~dev-python/atenpdu-0.3.2[${PYTHON_USEDEP}] )
atome? ( ~dev-python/pyAtome-0.1.1[${PYTHON_USEDEP}] )
august? ( ~dev-python/yalexs-1.2.7[${PYTHON_USEDEP}] ~dev-python/yalexs-ble-2.1.14[${PYTHON_USEDEP}] )
aurora_abb_powerone? ( ~dev-python/aurorapy-0.2.7[${PYTHON_USEDEP}] )
avea? ( ~dev-python/avea-1.5.1[${PYTHON_USEDEP}] )
avion? ( ~dev-python/avion-0.10[${PYTHON_USEDEP}] )
awair? ( ~dev-python/python-awair-0.2.4[${PYTHON_USEDEP}] )
axis? ( ~dev-python/axis-47[${PYTHON_USEDEP}] )
backup? ( ~dev-python/securetar-2022.2.0[${PYTHON_USEDEP}] )
baidu? ( ~dev-python/baidu-aip-1.6.6.0[${PYTHON_USEDEP}] )
beewi_smartclim? ( ~dev-python/beewi-smartclim-0.0.10[${PYTHON_USEDEP}] )
bh1750? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bitcoin? ( ~dev-python/blockchain-1.4.4[${PYTHON_USEDEP}] )
bizkaibus? ( ~dev-python/bizkaibus-0.1.1[${PYTHON_USEDEP}] )
blackbird? ( ~dev-python/pyblackbird-0.6[${PYTHON_USEDEP}] )
blebox? ( ~dev-python/blebox-uniapi-2.1.4[${PYTHON_USEDEP}] )
blink? ( ~dev-python/blinkpy-0.19.2[${PYTHON_USEDEP}] )
blinksticklight? ( ~dev-python/BlinkStick-1.2.0[${PYTHON_USEDEP}] )
blinkt? ( ~dev-python/blinkt-0.1.0[${PYTHON_USEDEP}] )
blockchain? ( ~dev-python/python-blockchain-api-0.0.2[${PYTHON_USEDEP}] )
bluetooth? ( ~dev-python/bleak-0.20.1[${PYTHON_USEDEP}] ~dev-python/bleak-retry-connector-3.0.2[${PYTHON_USEDEP}] ~dev-python/bluetooth-adapters-0.15.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-auto-recovery-1.0.3[${PYTHON_USEDEP}] ~dev-python/bluetooth-data-tools-0.3.1[${PYTHON_USEDEP}] ~dev-python/dbus-fast-1.84.2[${PYTHON_USEDEP}] )
bluetooth_le_tracker? ( ~dev-python/pygatt-4.0.5[${PYTHON_USEDEP}] )
bluetooth_tracker? ( ~dev-python/bt-proximity-0.2.1[${PYTHON_USEDEP}] ~dev-python/pybluez-0.22[${PYTHON_USEDEP}] )
bme280? ( ~dev-python/i2csense-0.0.4[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] ~dev-python/bme280spi-0.2.0[${PYTHON_USEDEP}] )
bme680? ( ~dev-python/bme680-1.0.5[${PYTHON_USEDEP}] ~dev-python/smbus-cffi-0.5.1[${PYTHON_USEDEP}] )
bmw_connected_drive? ( ~dev-python/bimmer-connected-0.13.0[${PYTHON_USEDEP}] )
bond? ( ~dev-python/bond-async-0.1.23[${PYTHON_USEDEP}] )
braviatv? ( ~dev-python/pybravia-0.3.2[${PYTHON_USEDEP}] )
broadlink? ( ~dev-python/broadlink-0.18.3[${PYTHON_USEDEP}] )
brother? ( ~dev-python/brother-2.3.0[${PYTHON_USEDEP}] )
brottsplatskartan? ( ~dev-python/brottsplatskartan-0.0.1[${PYTHON_USEDEP}] )
brunt? ( ~dev-python/brunt-1.2.0[${PYTHON_USEDEP}] )
bsblan? ( ~dev-python/python-bsblan-0.5.11[${PYTHON_USEDEP}] )
bt_home_hub_5? ( ~dev-python/bthomehub5-devicelist-0.1.1[${PYTHON_USEDEP}] )
bt_smarthub? ( ~dev-python/btsmarthub-devicelist-0.2.3[${PYTHON_USEDEP}] )
buienradar? ( ~dev-python/buienradar-1.0.5[${PYTHON_USEDEP}] )
caldav? ( ~dev-python/caldav-1.2.0[${PYTHON_USEDEP}] )
camera? ( ~dev-python/PyTurboJPEG-1.6.7[${PYTHON_USEDEP}] )
canary? ( ~dev-python/py-canary-0.5.3[${PYTHON_USEDEP}] )
cast? ( ~dev-python/pychromecast-13.0.7[${PYTHON_USEDEP}] )
cisco_mobility_express? ( ~dev-python/ciscomobilityexpress-0.3.9[${PYTHON_USEDEP}] )
cli? ( app-misc/home-assistant-cli )
co2signal? ( ~dev-python/CO2Signal-0.4.2[${PYTHON_USEDEP}] )
compensation? ( ~dev-python/numpy-1.23.2[${PYTHON_USEDEP}] )
coronavirus? ( ~dev-python/coronavirus-1.1.1[${PYTHON_USEDEP}] )
daikin? ( ~dev-python/pydaikin-2.9.0[${PYTHON_USEDEP}] )
darksky? ( ~dev-python/python-forecastio-1.4.0[${PYTHON_USEDEP}] )
deconz? ( ~dev-python/pydeconz-110[${PYTHON_USEDEP}] )
delijn? ( ~dev-python/pydelijn-1.0.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.11.2[${PYTHON_USEDEP}] )
deutsche_bahn? ( ~dev-python/schiene-0.23[${PYTHON_USEDEP}] )
devolo_home_control? ( ~dev-python/devolo-home-control-api-0.18.2[${PYTHON_USEDEP}] )
dexcom? ( ~dev-python/pydexcom-0.2.3[${PYTHON_USEDEP}] )
dhcp? ( ~net-analyzer/scapy-2.5.0 ~dev-python/aiodiscover-1.4.16[${PYTHON_USEDEP}] )
dht? ( ~dev-python/adafruit-circuitpython-dht-3.7.0[${PYTHON_USEDEP}] ~dev-python/RPi-GPIO-0.7.1_alpha4[${PYTHON_USEDEP}] )
discogs? ( ~dev-python/discogs-client-2.3.0[${PYTHON_USEDEP}] )
discord? ( ~dev-python/nextcord-2.0.0_alpha8[${PYTHON_USEDEP}] )
discovery? ( ~dev-python/netdisco-3.0.0[${PYTHON_USEDEP}] )
dlna_dmr? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
dlna_dms? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
doorbird? ( ~dev-python/DoorBirdPy-2.1.0[${PYTHON_USEDEP}] )
dunehd? ( ~dev-python/pdunehd-1.3.2[${PYTHON_USEDEP}] )
dwd_weather_warnings? ( ~dev-python/dwdwfsapi-1.0.5[${PYTHON_USEDEP}] )
dynalite? ( ~dev-python/dynalite-devices-0.1.47[${PYTHON_USEDEP}] )
dyson? ( ~dev-python/libpurecool-0.6.4[${PYTHON_USEDEP}] )
ecobee? ( ~dev-python/python-ecobee-api-0.2.14[${PYTHON_USEDEP}] )
ecowitt? ( ~dev-python/aioecowitt-2023.1.0[${PYTHON_USEDEP}] )
emulated_roku? ( ~dev-python/emulated-roku-0.2.1[${PYTHON_USEDEP}] )
enigma2? ( ~dev-python/openwebifpy-3.2.7[${PYTHON_USEDEP}] )
enocean? ( ~dev-python/enocean-0.50.1[${PYTHON_USEDEP}] )
enphase_envoy? ( ~dev-python/envoy-reader-0.20.1[${PYTHON_USEDEP}] )
environment_canada? ( ~dev-python/env-canada-0.5.32[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-13.6.1[${PYTHON_USEDEP}] ~dev-python/esphome-dashboard-api-1.2.3[${PYTHON_USEDEP}] )
everlights? ( ~dev-python/pyeverlights-0.1.0[${PYTHON_USEDEP}] )
evohome? ( ~dev-python/evohome-async-0.3.15[${PYTHON_USEDEP}] )
ffmpeg? ( ~dev-python/ha-ffmpeg-3.1.0[${PYTHON_USEDEP}] )
fibaro? ( ~dev-python/pyfibaro-0.6.9[${PYTHON_USEDEP}] )
file? ( ~dev-python/file-read-backwards-2.0.0[${PYTHON_USEDEP}] )
flume? ( ~dev-python/PyFlume-0.6.5[${PYTHON_USEDEP}] )
flunearyou? ( ~dev-python/pyflunearyou-2.0.2[${PYTHON_USEDEP}] )
flux_led? ( ~dev-python/flux-led-0.28.37[${PYTHON_USEDEP}] )
foobot? ( ~dev-python/foobot_async-1.0.0[${PYTHON_USEDEP}] )
forecast_solar? ( ~dev-python/forecast-solar-2.2.0[${PYTHON_USEDEP}] )
fortios? ( ~dev-python/fortiosapi-1.0.5[${PYTHON_USEDEP}] )
freebox? ( ~dev-python/freebox-api-1.1.0[${PYTHON_USEDEP}] )
fritz? ( ~dev-python/fritzconnection-1.12.0[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
fritzbox? ( ~dev-python/pyfritzhome-0.6.8[${PYTHON_USEDEP}] )
fritzbox_callmonitor? ( ~dev-python/fritzconnection-1.12.0[${PYTHON_USEDEP}] )
fritzbox_netmonitor? ( ~dev-python/fritzconnection-1.4.2[${PYTHON_USEDEP}] )
fronius? ( ~dev-python/PyFronius-0.7.1[${PYTHON_USEDEP}] )
garmin_connect? ( ~dev-python/garminconnect-ha-0.1.6[${PYTHON_USEDEP}] )
gios? ( ~dev-python/gios-3.1.0[${PYTHON_USEDEP}] )
github? ( ~dev-python/aiogithubapi-22.10.1[${PYTHON_USEDEP}] )
gogogate2? ( ~dev-python/ismartgate-5.0.0[${PYTHON_USEDEP}] )
greeneye_monitor? ( ~dev-python/greeneye-monitor-3.0.3[${PYTHON_USEDEP}] )
growatt_server? ( ~dev-python/growattServer-1.3.0[${PYTHON_USEDEP}] )
guardian? ( ~dev-python/aioguardian-2022.7.0[${PYTHON_USEDEP}] )
harman_kardon_avr? ( ~dev-python/hkavr-0.0.5[${PYTHON_USEDEP}] )
harmony? ( ~dev-python/aioharmony-0.2.10[${PYTHON_USEDEP}] )
heos? ( ~dev-python/pyheos-0.7.2[${PYTHON_USEDEP}] )
here_travel_time? ( ~dev-python/here-routing-0.2.0[${PYTHON_USEDEP}] ~dev-python/here-transit-1.2.0[${PYTHON_USEDEP}] )
homekit? ( ~dev-python/HAP-python-4.6.0[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] ~dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}] ~dev-python/base36-0.1.1[${PYTHON_USEDEP}] )
homekit_controller? ( ~dev-python/aiohomekit-2.6.3[${PYTHON_USEDEP}] )
homematic? ( ~dev-python/pyhomematic-0.1.77[${PYTHON_USEDEP}] )
homematicip_cloud? ( ~dev-python/homematicip-1.0.13[${PYTHON_USEDEP}] )
hp_ilo? ( ~dev-python/python-hpilo-4.3[${PYTHON_USEDEP}] )
http? ( ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] )
hue? ( ~dev-python/aiohue-4.6.2[${PYTHON_USEDEP}] )
hydrawise? ( ~dev-python/Hydrawiser-0.2[${PYTHON_USEDEP}] )
iaqualink? ( ~dev-python/iaqualink-0.5.0[${PYTHON_USEDEP}] ~dev-python/h2-4.1.0[${PYTHON_USEDEP}] )
ihc? ( ~dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] ~dev-python/ihcsdk-2.8.5[${PYTHON_USEDEP}] )
image_upload? ( ~dev-python/pillow-9.4.0[${PYTHON_USEDEP}] )
imap? ( ~dev-python/aioimaplib-1.0.1[${PYTHON_USEDEP}] )
incomfort? ( ~dev-python/incomfort-client-0.5.0[${PYTHON_USEDEP}] )
influxdb? ( ~dev-python/influxdb-5.3.1[${PYTHON_USEDEP}] ~dev-python/influxdb-client-1.24.0[${PYTHON_USEDEP}] )
insteon? ( ~dev-python/pyinsteon-1.4.1[${PYTHON_USEDEP}] ~dev-python/insteon-frontend-home-assistant-0.3.4[${PYTHON_USEDEP}] )
intesishome? ( ~dev-python/pyintesishome-1.8.0[${PYTHON_USEDEP}] )
ipma? ( ~dev-python/pyipma-3.0.6[${PYTHON_USEDEP}] )
ipp? ( ~dev-python/pyipp-0.12.1[${PYTHON_USEDEP}] )
islamic_prayer_times? ( ~dev-python/prayer-times-calculator-0.0.6[${PYTHON_USEDEP}] )
jewish_calendar? ( ~dev-python/hdate-0.10.4[${PYTHON_USEDEP}] )
joaoapps_join? ( ~dev-python/python-join-api-0.0.9[${PYTHON_USEDEP}] )
kef? ( ~dev-python/aiokef-0.2.16[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
knx? ( ~dev-python/xknx-2.7.0[${PYTHON_USEDEP}] )
kodi? ( ~dev-python/pykodi-0.2.7[${PYTHON_USEDEP}] )
kraken? ( ~dev-python/krakenex-2.1.0[${PYTHON_USEDEP}] ~dev-python/pykrakenapi-0.1.8[${PYTHON_USEDEP}] )
lifx? ( ~dev-python/aiolifx-0.8.10[${PYTHON_USEDEP}] ~dev-python/aiolifx-effects-0.3.2[${PYTHON_USEDEP}] ~dev-python/aiolifx-themes-0.4.5[${PYTHON_USEDEP}] )
linode? ( ~dev-python/linode-api-4.1.9_beta1[${PYTHON_USEDEP}] )
litterrobot? ( ~dev-python/pylitterbot-2023.1.2[${PYTHON_USEDEP}] )
local_calendar? ( ~dev-python/ical-4.5.1[${PYTHON_USEDEP}] )
loopenergy? ( ~dev-python/pyloopenergy-0.2.1[${PYTHON_USEDEP}] )
luci? ( ~dev-python/openwrt-luci-rpc-1.1.11[${PYTHON_USEDEP}] )
luftdaten? ( ~dev-python/luftdaten-0.7.4[${PYTHON_USEDEP}] )
mariadb? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.4.3[${PYTHON_USEDEP}] )
media_extractor? ( ~dev-python/youtube-dl-2021.12.17[${PYTHON_USEDEP}] )
meteo_france? ( ~dev-python/meteofrance-api-1.2.0[${PYTHON_USEDEP}] )
mfi? ( ~dev-python/mficlient-0.3.0[${PYTHON_USEDEP}] )
mikrotik? ( ~dev-python/librouteros-3.2.0[${PYTHON_USEDEP}] )
mobile_app? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
modbus? ( ~dev-python/pymodbus-3.1.3[${PYTHON_USEDEP}] )
mosquitto? ( app-misc/mosquitto )
mqtt? ( ~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] )
myq? ( ~dev-python/pymyq-3.1.4[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
nad? ( ~dev-python/nad-receiver-0.3.0[${PYTHON_USEDEP}] )
nederlandse_spoorwegen? ( ~dev-python/nsapi-3.0.5[${PYTHON_USEDEP}] )
netatmo? ( ~dev-python/pyatmo-7.5.0[${PYTHON_USEDEP}] )
netdata? ( ~dev-python/netdata-1.0.1[${PYTHON_USEDEP}] )
notify_events? ( ~dev-python/notify-events-1.0.4[${PYTHON_USEDEP}] )
nuki? ( ~dev-python/pynuki-1.6.1[${PYTHON_USEDEP}] )
nws? ( ~dev-python/pynws-1.4.1[${PYTHON_USEDEP}] )
nx584? ( ~dev-python/pynx584-0.5[${PYTHON_USEDEP}] )
octoprint? ( ~dev-python/pyoctoprintapi-0.1.11[${PYTHON_USEDEP}] )
onkyo? ( ~dev-python/onkyo-eiscp-1.2.7[${PYTHON_USEDEP}] )
onvif? ( ~dev-python/onvif-zeep-async-1.2.3[${PYTHON_USEDEP}] ~dev-python/WSDiscovery-2.0.0[${PYTHON_USEDEP}] )
opengarage? ( ~dev-python/open-garage-0.2.0[${PYTHON_USEDEP}] )
opensensemap? ( ~dev-python/opensensemap-api-0.2.0[${PYTHON_USEDEP}] )
openweathermap? ( ~dev-python/pyowm-3.2.0[${PYTHON_USEDEP}] )
opnsense? ( ~dev-python/pyopnsense-0.2.0[${PYTHON_USEDEP}] )
otp? ( ~dev-python/pyotp-2.8.0[${PYTHON_USEDEP}] )
owntracks? ( ~dev-python/pynacl-1.5.0[${PYTHON_USEDEP}] )
panasonic_viera? ( ~dev-python/panasonic-viera-0.3.6[${PYTHON_USEDEP}] )
philips_js? ( ~dev-python/ha-philipsjs-3.0.0[${PYTHON_USEDEP}] )
pilight? ( ~dev-python/pilight-0.1.1[${PYTHON_USEDEP}] )
ping? ( ~dev-python/icmplib-3.0[${PYTHON_USEDEP}] )
pi_hole? ( ~dev-python/hole-0.8.0[${PYTHON_USEDEP}] )
plex? ( ~dev-python/PlexAPI-4.13.2[${PYTHON_USEDEP}] ~dev-python/plexauth-0.0.6[${PYTHON_USEDEP}] ~dev-python/plexwebsocket-0.0.13[${PYTHON_USEDEP}] )
plugwise? ( ~dev-python/plugwise-0.27.5[${PYTHON_USEDEP}] )
poolsense? ( ~dev-python/poolsense-0.0.8[${PYTHON_USEDEP}] )
powerwall? ( ~dev-python/tesla-powerwall-0.3.19[${PYTHON_USEDEP}] )
ps4? ( ~dev-python/pyps4-2ndscreen-1.3.1[${PYTHON_USEDEP}] )
python_script? ( ~dev-python/RestrictedPython-6.0[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.4.0[${PYTHON_USEDEP}] )
qvr_pro? ( ~dev-python/pyqvrpro-0.52[${PYTHON_USEDEP}] )
rachio? ( ~dev-python/RachioPy-1.0.3[${PYTHON_USEDEP}] )
radio_browser? ( ~dev-python/radios-0.1.1[${PYTHON_USEDEP}] )
rainbird? ( ~dev-python/pyrainbird-2.0.0[${PYTHON_USEDEP}] )
rainmachine? ( ~dev-python/regenmaschine-2022.11.0[${PYTHON_USEDEP}] )
recorder? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] ~dev-python/fnvhash-0.1.0[${PYTHON_USEDEP}] )
rejseplanen? ( ~dev-python/rjpl-0.3.6[${PYTHON_USEDEP}] )
rest? ( ~dev-python/jsonpath-0.82[${PYTHON_USEDEP}] ~dev-python/xmltodict-0.13.0[${PYTHON_USEDEP}] )
ring? ( ~dev-python/ring-doorbell-0.7.2[${PYTHON_USEDEP}] )
roku? ( ~dev-python/rokuecp-0.17.1[${PYTHON_USEDEP}] )
roomba? ( ~dev-python/roombapy-1.6.8[${PYTHON_USEDEP}] )
roon? ( ~dev-python/roonapi-0.1.4[${PYTHON_USEDEP}] )
samsungtv? ( ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] ~dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] ~dev-python/samsungtvws-2.5.0[${PYTHON_USEDEP}] ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
scrape? ( ~dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}] ~dev-python/lxml-4.9.1[${PYTHON_USEDEP}] )
season? ( ~dev-python/ephem-4.1.2[${PYTHON_USEDEP}] )
shelly? ( ~dev-python/aioshelly-5.3.1[${PYTHON_USEDEP}] )
shodan? ( ~dev-python/shodan-1.28.0[${PYTHON_USEDEP}] )
signal_messenger? ( ~dev-python/pysignalclirestapi-0.3.18[${PYTHON_USEDEP}] )
simplisafe? ( ~dev-python/simplisafe-python-2023.4.0[${PYTHON_USEDEP}] )
skybell? ( ~dev-python/aioskybell-22.7.0[${PYTHON_USEDEP}] )
sma? ( ~dev-python/pysma-0.7.3[${PYTHON_USEDEP}] )
smappee? ( ~dev-python/pysmappee-0.2.29[${PYTHON_USEDEP}] )
smarthab? ( ~dev-python/SmartHab-0.21[${PYTHON_USEDEP}] )
smartthings? ( ~dev-python/pysmartapp-0.3.3[${PYTHON_USEDEP}] ~dev-python/pysmartthings-0.7.6[${PYTHON_USEDEP}] )
snmp? ( ~dev-python/pysnmplib-5.0.21[${PYTHON_USEDEP}] )
socat? ( net-misc/socat )
solax? ( ~dev-python/solax-0.3.0[${PYTHON_USEDEP}] )
somfy? ( ~dev-python/pymfy-0.11.0[${PYTHON_USEDEP}] )
sonos? ( ~dev-python/soco-0.29.1[${PYTHON_USEDEP}] )
speedtestdotnet? ( ~net-analyzer/speedtest-cli-2.1.3[${PYTHON_USEDEP}] )
spotify? ( ~dev-python/spotipy-2.22.1[${PYTHON_USEDEP}] )
sql? ( ~dev-python/sqlalchemy-2.0.7[${PYTHON_USEDEP}] )
squeezebox? ( ~dev-python/pysqueezebox-0.6.1[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl app-crypt/certbot net-proxy/haproxy )
statsd? ( ~dev-python/statsd-3.2.1[${PYTHON_USEDEP}] )
synology_dsm? ( ~dev-python/py-synologydsm-api-2.1.4[${PYTHON_USEDEP}] )
systemmonitor? ( ~dev-python/psutil-5.9.4[${PYTHON_USEDEP}] )
tankerkoenig? ( ~dev-python/pytankerkoenig-0.0.6[${PYTHON_USEDEP}] )
tasmota? ( ~dev-python/HATasmota-0.6.4[${PYTHON_USEDEP}] )
tellduslive? ( ~dev-python/tellduslive-0.10.11[${PYTHON_USEDEP}] )
tesla? ( ~dev-python/teslajsonpy-0.18.3[${PYTHON_USEDEP}] )
tile? ( ~dev-python/pytile-2023.4.0[${PYTHON_USEDEP}] )
tomorrowio? ( ~dev-python/pytomorrowio-0.3.5[${PYTHON_USEDEP}] )
toon? ( ~dev-python/toonapi-0.2.1[${PYTHON_USEDEP}] )
totalconnect? ( ~dev-python/total-connect-client-2023.2[${PYTHON_USEDEP}] )
tplink? ( ~dev-python/python-kasa-0.5.1[${PYTHON_USEDEP}] )
tts? ( ~media-libs/mutagen-1.46.0 )
tuya? ( ~dev-python/tuya-iot-py-sdk-0.6.6[${PYTHON_USEDEP}] )
unifi? ( ~dev-python/aiounifi-46[${PYTHON_USEDEP}] )
unifi_direct? ( ~dev-python/pexpect-4.6.0[${PYTHON_USEDEP}] )
upnp? ( ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] ~dev-python/getmac-0.8.2[${PYTHON_USEDEP}] )
utility_meter? ( ~dev-python/croniter-1.0.6[${PYTHON_USEDEP}] )
vallox? ( ~dev-python/vallox-websocket-api-3.2.1[${PYTHON_USEDEP}] )
velbus? ( ~dev-python/velbus-aio-2023.2.0[${PYTHON_USEDEP}] )
velux? ( ~dev-python/pyvlx-0.2.20[${PYTHON_USEDEP}] )
vera? ( ~dev-python/pyvera-0.3.13[${PYTHON_USEDEP}] )
version? ( ~dev-python/pyhaversion-22.8.0[${PYTHON_USEDEP}] )
vicare? ( ~dev-python/PyViCare-2.21.0[${PYTHON_USEDEP}] )
vizio? ( ~dev-python/pyvizio-0.1.60[${PYTHON_USEDEP}] )
wake_on_lan? ( ~dev-python/wakeonlan-2.1.0[${PYTHON_USEDEP}] )
waqi? ( ~dev-python/waqiasync-1.0.0[${PYTHON_USEDEP}] )
waze_travel_time? ( ~dev-python/WazeRouteCalculator-0.14[${PYTHON_USEDEP}] )
webostv? ( ~dev-python/aiowebostv-0.3.2[${PYTHON_USEDEP}] )
wemo? ( ~dev-python/pywemo-0.9.1[${PYTHON_USEDEP}] )
whois? ( ~dev-python/whois-0.9.27[${PYTHON_USEDEP}] )
wink? ( ~dev-python/pubnubsub-handler-1.0.9[${PYTHON_USEDEP}] ~dev-python/python-wink-1.10.5[${PYTHON_USEDEP}] )
withings? ( ~dev-python/withings-api-2.4.0[${PYTHON_USEDEP}] )
wled? ( ~dev-python/wled-0.16.0[${PYTHON_USEDEP}] )
workday? ( ~dev-python/holidays-0.21.13[${PYTHON_USEDEP}] )
xbox_live? ( ~dev-python/xboxapi-2.0.1[${PYTHON_USEDEP}] )
xiaomi_aqara? ( ~dev-python/PyXiaomiGateway-0.14.3[${PYTHON_USEDEP}] )
xiaomi_miio? ( ~dev-python/construct-2.10.56[${PYTHON_USEDEP}] ~dev-python/micloud-0.5[${PYTHON_USEDEP}] ~dev-python/python-miio-0.5.12[${PYTHON_USEDEP}] )
xiaomi_tv? ( ~dev-python/pymitv-1.4.3[${PYTHON_USEDEP}] )
xs1? ( ~dev-python/xs1-api-client-3.0.0[${PYTHON_USEDEP}] )
yamaha? ( ~dev-python/rxv-0.7.0[${PYTHON_USEDEP}] )
yamaha_musiccast? ( ~dev-python/aiomusiccast-0.14.8[${PYTHON_USEDEP}] )
yeelight? ( ~dev-python/yeelight-0.7.10[${PYTHON_USEDEP}] ~dev-python/async-upnp-client-0.33.1[${PYTHON_USEDEP}] )
yi? ( ~dev-python/aioftp-0.21.3[${PYTHON_USEDEP}] )
zeroconf? ( ~dev-python/zeroconf-0.56.0[${PYTHON_USEDEP}] )
zerproc? ( ~dev-python/pyzerproc-0.4.8[${PYTHON_USEDEP}] )
zha? ( ~dev-python/bellows-0.35.1[${PYTHON_USEDEP}] ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/pyserial-asyncio-0.6[${PYTHON_USEDEP}] ~dev-python/zha-quirks-0.0.97[${PYTHON_USEDEP}] ~dev-python/zigpy-deconz-0.20.0[${PYTHON_USEDEP}] ~dev-python/zigpy-0.54.1[${PYTHON_USEDEP}] ~dev-python/zigpy-xbee-0.17.0[${PYTHON_USEDEP}] ~dev-python/zigpy-zigate-0.10.3[${PYTHON_USEDEP}] ~dev-python/zigpy-znp-0.10.0[${PYTHON_USEDEP}] )
zhong_hong? ( ~dev-python/zhong-hong-hvac-1.0.9[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.5.2[${PYTHON_USEDEP}] )
zwave_js? ( ~dev-python/pyserial-3.5[${PYTHON_USEDEP}] ~dev-python/zwave-js-server-python-0.47.3[${PYTHON_USEDEP}] )"
BDEPEND="${RDEPEND}
test? (
~dev-python/astroid-2.15.0[${PYTHON_USEDEP}]
~dev-python/coverage-7.2.1[${PYTHON_USEDEP}]
~dev-python/freezegun-1.2.2[${PYTHON_USEDEP}]
~dev-python/mock-open-1.4.0[${PYTHON_USEDEP}]
~dev-python/mypy-1.1.1[${PYTHON_USEDEP}]
~dev-python/pipdeptree-2.7.0[${PYTHON_USEDEP}]
~dev-vcs/pre-commit-3.1.0
~dev-python/pydantic-1.10.7[${PYTHON_USEDEP}]
~dev-python/pylint-per-file-ignores-1.1.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.17.0[${PYTHON_USEDEP}]
~dev-python/pytest-asyncio-0.20.3[${PYTHON_USEDEP}]
~dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
~dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-picked-0.4.6[${PYTHON_USEDEP}]
~dev-python/pytest-socket-0.5.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.6[${PYTHON_USEDEP}]
~dev-python/pytest-test-groups-1.0.3[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
~dev-python/pytest-unordered-0.5.2[${PYTHON_USEDEP}]
~dev-python/pytest-xdist-3.2.1[${PYTHON_USEDEP}]
~dev-python/pytest-7.2.2[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.10.0[${PYTHON_USEDEP}]
~dev-python/respx-0.20.1[${PYTHON_USEDEP}]
~dev-python/syrupy-4.0.0[${PYTHON_USEDEP}]
~dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
~dev-python/tqdm-4.64.0[${PYTHON_USEDEP}]
)
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]"
INSTALL_DIR="/opt/${MY_PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${MY_PN}
daemon command line arguments are configured in: /etc/conf.d/${MY_PN}
logging is to: /var/log/${MY_PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${MY_PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.rst"
src_prepare() {
if use test ; then
cp -r ${WORKDIR}/core-${MY_PV}/tests ${S}
fi
distutils-r1_src_prepare
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/etc/${MY_PN}"
keepdir "/var/log/${MY_PN}"
fowners -R "${MY_PN}:${MY_PN}" "/var/log/${MY_PN}"
newconfd "${FILESDIR}/${MY_PN}.conf.d" "${MY_PN}"
newinitd "${FILESDIR}/${MY_PN}.init.d" "${MY_PN}"
use systemd && systemd_dounit "${FILESDIR}/${MY_PN}.service"
dobin "${FILESDIR}/hasstest"
if use socat ; then
newinitd "${FILESDIR}/socat-zwave.init.d" "socat-zwave"
sed -i -e 's/# need socat-zwave/need socat-zwave/g' "${D}/etc/init.d/${MY_PN}" || die
fi
if use mqtt ; then
sed -i -e 's/# need mosquitto/need mosquitto/g' "${D}/etc/init.d/${MY_PN}" || die
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
distutils_enable_tests pytest

Some files were not shown because too many files have changed in this diff Show More