diff --git a/gallery/public/images/bed.png b/gallery/public/images/bed.png new file mode 100644 index 0000000000..b37159d4d4 Binary files /dev/null and b/gallery/public/images/bed.png differ diff --git a/gallery/public/images/divider.png b/gallery/public/images/divider.png index 6dc95e0467..cf74eb2299 100644 Binary files a/gallery/public/images/divider.png and b/gallery/public/images/divider.png differ diff --git a/gallery/public/images/floorplan.png b/gallery/public/images/floorplan.png index db575b79bb..1a3a4a68c5 100644 Binary files a/gallery/public/images/floorplan.png and b/gallery/public/images/floorplan.png differ diff --git a/gallery/public/images/kitchen.png b/gallery/public/images/kitchen.png new file mode 100644 index 0000000000..59a6f4659a Binary files /dev/null and b/gallery/public/images/kitchen.png differ diff --git a/gallery/public/images/light_bulb_off.png b/gallery/public/images/light_bulb_off.png index d2fd865228..5fa70f4dbd 100644 Binary files a/gallery/public/images/light_bulb_off.png and b/gallery/public/images/light_bulb_off.png differ diff --git a/gallery/public/images/light_bulb_on.png b/gallery/public/images/light_bulb_on.png index c50776fe00..06672e7005 100644 Binary files a/gallery/public/images/light_bulb_on.png and b/gallery/public/images/light_bulb_on.png differ diff --git a/gallery/public/images/living_room.png b/gallery/public/images/living_room.png new file mode 100644 index 0000000000..3af1ce660c Binary files /dev/null and b/gallery/public/images/living_room.png differ diff --git a/gallery/src/demos/demo-hui-entities-card.js b/gallery/src/demos/demo-hui-entities-card.js index 62e9580c5d..906f942573 100644 --- a/gallery/src/demos/demo-hui-entities-card.js +++ b/gallery/src/demos/demo-hui-entities-card.js @@ -126,7 +126,7 @@ const CONFIGS = [ style: height: 30px margin: 4px 0 - background: center / contain url("images/divider.png") no-repeat + background: center / contain url("/images/divider.png") no-repeat ` }, ]; diff --git a/gallery/src/demos/demo-hui-picture-entity-card.js b/gallery/src/demos/demo-hui-picture-entity-card.js index 7d2d414a93..8ed1c61ec2 100644 --- a/gallery/src/demos/demo-hui-picture-entity-card.js +++ b/gallery/src/demos/demo-hui-picture-entity-card.js @@ -8,7 +8,7 @@ const CONFIGS = [ heading: 'State on', config: ` - type: picture-entity - image: https://images.pexels.com/photos/1027508/pexels-photo-1027508.jpeg + image: /images/kitchen.png entity: light.kitchen_lights ` }, @@ -16,7 +16,7 @@ const CONFIGS = [ heading: 'State off', config: ` - type: picture-entity - image: https://images.pexels.com/photos/775219/pexels-photo-775219.jpeg + image: /images/bed.png entity: light.bed_light ` }, @@ -24,7 +24,7 @@ const CONFIGS = [ heading: 'Entity unavailable', config: ` - type: picture-entity - image: https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg + image: /images/living_room.png entity: light.non_existing ` }, @@ -39,7 +39,7 @@ const CONFIGS = [ heading: 'Hidden info', config: ` - type: picture-entity - image: https://images.pexels.com/photos/1027508/pexels-photo-1027508.jpeg + image: /images/kitchen.png entity: light.kitchen_lights show_info: false ` diff --git a/gallery/src/demos/demo-hui-picture-glance-card.js b/gallery/src/demos/demo-hui-picture-glance-card.js index 2990334d6c..f5477c29f1 100644 --- a/gallery/src/demos/demo-hui-picture-glance-card.js +++ b/gallery/src/demos/demo-hui-picture-glance-card.js @@ -8,7 +8,7 @@ const CONFIGS = [ heading: 'Title, dialog, toggle', config: ` - type: picture-glance - image: https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg + image: /images/living_room.png title: Living room entities: - switch.decorative_lights @@ -21,7 +21,7 @@ const CONFIGS = [ heading: 'Title, dialog, no toggle', config: ` - type: picture-glance - image: https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg + image: /images/living_room.png title: Living room entities: - binary_sensor.movement_backyard @@ -32,7 +32,7 @@ const CONFIGS = [ heading: 'Title, no dialog, toggle', config: ` - type: picture-glance - image: https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg + image: /images/living_room.png title: Living room entities: - switch.decorative_lights @@ -43,7 +43,7 @@ const CONFIGS = [ heading: 'No title, dialog, toggle', config: ` - type: picture-glance - image: https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg + image: /images/living_room.png entities: - switch.decorative_lights - light.ceiling_lights @@ -55,7 +55,7 @@ const CONFIGS = [ heading: 'No title, dialog, no toggle', config: ` - type: picture-glance - image: https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg + image: /images/living_room.png entities: - binary_sensor.movement_backyard - binary_sensor.basement_floor_wet @@ -65,7 +65,7 @@ const CONFIGS = [ heading: 'No title, no dialog, toggle', config: ` - type: picture-glance - image: https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg + image: /images/living_room.png entities: - switch.decorative_lights - light.ceiling_lights diff --git a/gallery/src/demos/demo-hui-stack-card.js b/gallery/src/demos/demo-hui-stack-card.js index 7762a3818c..b282993dac 100644 --- a/gallery/src/demos/demo-hui-stack-card.js +++ b/gallery/src/demos/demo-hui-stack-card.js @@ -10,7 +10,7 @@ const CONFIGS = [ - type: vertical-stack cards: - type: picture-entity - image: https://images.pexels.com/photos/1027508/pexels-photo-1027508.jpeg + image: /images/kitchen.png entity: light.kitchen_lights - type: glance entities: @@ -25,7 +25,7 @@ const CONFIGS = [ - type: horizontal-stack cards: - type: picture-entity - image: https://images.pexels.com/photos/1027508/pexels-photo-1027508.jpeg + image: /images/kitchen.png entity: light.kitchen_lights - type: glance entities: @@ -42,7 +42,7 @@ const CONFIGS = [ - type: horizontal-stack cards: - type: picture-entity - image: https://images.pexels.com/photos/1027508/pexels-photo-1027508.jpeg + image: /images/kitchen.png entity: light.kitchen_lights - type: glance entities: @@ -50,7 +50,7 @@ const CONFIGS = [ - device_tracker.demo_home_boy - device_tracker.demo_paulus - type: picture-entity - image: https://images.pexels.com/photos/775219/pexels-photo-775219.jpeg + image: /images/bed.png entity: light.bed_light ` },