Initial commit: Light Button Card for Home Assistant

This commit is contained in:
nearxos
2026-01-06 19:30:17 +02:00
commit e7166bd3e7
8 changed files with 588 additions and 0 deletions

31
package.json Normal file
View File

@@ -0,0 +1,31 @@
{
"name": "homeassistant-light-buttons",
"version": "1.0.0",
"description": "Custom Lovelace card for Home Assistant with button toggle and binary sensor status",
"main": "dist/light-button-card.js",
"scripts": {
"build": "webpack --mode production",
"watch": "webpack --mode development --watch"
},
"keywords": [
"home-assistant",
"lovelace",
"custom-card"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.0.0",
"ts-loader": "^9.5.0",
"typescript": "^5.0.0",
"webpack": "^5.88.0",
"webpack-cli": "^5.1.0"
},
"dependencies": {
"lit": "^2.8.0"
},
"peerDependencies": {
"home-assistant-js-websocket": "^8.0.0"
}
}