Add sample env.py and update README

This commit is contained in:
2025-04-19 12:43:23 +01:00
parent c657df8090
commit 740106a98d
2 changed files with 40 additions and 1 deletions

39
env.sample.py Normal file
View File

@@ -0,0 +1,39 @@
HOSTNAME="pico-hostname"
SSID = 'wifi-ssid'
WIFI_PASSWORD = 'wifi-password'
HASS_URL = "http://url.to.hass:port"
TOKEN = "long.lived.hass.token"
SCREENS = [
{
"name": "Lights",
"type": 0,
"entities": [
{
"id": "light.bedroom_light",
"name": "Bedroom"
},
{
"id": "light.bedroom_lamp",
"name": "Lamp"
},
{
"id": "light.tv_leds",
"name": "TV"
},
{
"id": "light.bedroom_lights",
"name": "All"
}
]
},
{
"name": "Kitchen",
"type": 1,
"entity": "media_player.kitchen"
},
{
"name": "Living Room",
"type": 1,
"entity": "media_player.living_room"
}
]