Bump version number

This commit is contained in:
Thomas Lovén 2020-06-11 11:37:08 +02:00
parent 74146540ff
commit 88ca719af4
5 changed files with 95 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"name": "browser_mod",
"private": true,
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"scripts": {
"build": "webpack",

16
test/configuration.yaml Normal file
View File

@ -0,0 +1,16 @@
default_config:
demo:
browser_mod:
lovelace:
mode: yaml
resources:
- url: /local/card-mod.js
type: module
dashboards:
lovelace-yaml:
mode: yaml
title: yaml
filename: lovelace.yaml

59
test/docker-compose.yml Normal file
View File

@ -0,0 +1,59 @@
#
# Docker services for testing Home Assistant integrations and plugins
#
# Automaatically sets up configuration adds a user and skips the onboarding
#
# Username: dev
# Password: dev
#
# Two services, 'prod' and 'dev' run the latest production and dev docker images respectively.
#
# Start with
# $ docker-compose up prod
# or
# $ docker-compose up dev
#
# When done, clean up with
# $ docker-compose rm -f
#
x-files: &x-files
- ../custom_components:/config/custom_components
- ./configuration.yaml:/config/configuration.yaml
- ./lovelace.yaml:/config/lovelace.yaml
- ./views:/config/views
x-command: &x-command |
bash -c '
mkdir /config/www/
curl https://raw.githubusercontent.com/thomasloven/lovelace-card-mod/master/card-mod.js --output /config/www/card-mod.js &&
hass --script ensure_config -c /config &&
hass --script auth -c /config add dev dev &&
echo "
{
\"data\": {
\"done\": [
\"user\",
\"core_config\",
\"integration\"
]
},
\"key\": \"onboarding\",
\"version\": 3
}
" > /config/.storage/onboarding &&
hass -v -c /config'
version: '3.5'
services:
prod: &base_service
image: homeassistant/home-assistant:latest
volumes: *x-files
ports:
- "5001:8123"
command: *x-command
dev:
<<: *base_service
image: homeassistant/home-assistant:dev

18
test/lovelace.yaml Normal file
View File

@ -0,0 +1,18 @@
name: browser_mod
views:
- title: Player
cards:
- type: custom:browser-player
- type: button
entity: sun.sun
name: popup
tap_action:
action: call-service
service: browser_mod.popup
service_data:
deviceID: this
title: Test
card:
type: markdown
content: Hello!