Hello, i have been splitting my lovelace file using !includes, which has been working well, i have 8 tabs working well, i’ve just tried to add a new tab which is similar to an existing tab/file and after getting more than a few lines in, it just starts displaying the contents of the other tab and i can’t figure out why…
This is the tab that is working, but gets duplicated later when i add the new tab
title: BR_remote
icon: mdi:disc-player
path: home
cards:
- type: horizontal-stack
cards:
##################################################
- type: "custom:button-card"
icon: 'mdi:import'
name: Source
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 551515020
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
##################################################
- type: "custom:button-card"
icon: 'mdi:arrow-up-bold-outline'
name: UP
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031753245
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
################################################## Blank ###
# - type: "custom:button-card"
# color_type: blank-card
##################################################
- type: "custom:button-card"
icon: 'mdi:menu'
name: MENU
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 4294967295
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
#type: 'custom:button-card'
##################################################
############## ROW ##
##################################################
- type: horizontal-stack
cards:
- type: "custom:button-card"
icon: 'mdi:arrow-left-bold-outline'
name: LEFT
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031734885
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
# type: 'custom:button-card'
##################################################
- type: "custom:button-card"
icon: 'mdi:odnoklassniki'
name: OK
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031702245
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
# type: 'custom:button-card'
##################################################
- type: "custom:button-card"
icon: 'mdi:arrow-right-bold-outline'
name: RIGHT
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031718565
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
# type: 'custom:button-card'
#show_state: true
##################################################
############## ROW ##
##################################################
- type: horizontal-stack
cards:
- type: "custom:button-card"
icon: 'mdi:exit-run'
name: EXIT
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031720605
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
##################################################
- type: "custom:button-card"
icon: 'mdi:arrow-down-bold-outline'
name: DN
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031700205
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
##################################################
- type: "custom:button-card"
icon: 'mdi:arrow-left-circle-outline'
name: BACK
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031736925
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
##################################################
############## ROW ##
##################################################
- type: horizontal-stack
cards:
- type: "custom:button-card"
icon: 'mdi:eject-outline'
name: EJECT
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031723155
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
##################################################
- type: "custom:button-card"
icon: 'mdi:power'
name: BR-POWER
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031698675
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
##################################################
- type: "custom:button-card"
icon: 'mdi:television-classic-off'
name: TV-OFF
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 551489775
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: menu_button
##################################################
############## ROW ##
##################################################
- type: horizontal-stack
cards:
- type: "custom:button-card"
icon: 'mdi:skip-backward-outline'
name: skip_back
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031739475
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: icon_button
##################################################
- type: "custom:button-card"
icon: 'mdi:rewind-outline'
name: rew
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031714995
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: icon_button
##################################################
- type: "custom:button-card"
icon: 'mdi:fast-forward-outline'
name: ffwd
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031747635
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: icon_button
##################################################
- type: "custom:button-card"
icon: 'mdi:skip-forward-outline'
name: Skip_fwd
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031706835
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: icon_button
##################################################
##################################################
############## ROW ####
##################################################
- type: horizontal-stack
cards:
- type: "custom:button-card"
icon: 'mdi:stop'
name: Stop
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031735395
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: icon_button
##################################################
- type: "custom:button-card"
icon: 'mdi:play'
name: Play
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031731315
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: icon_button
##################################################
- type: "custom:button-card"
icon: 'mdi:pause'
name: Pause
tap_action:
action: call-service
service: mqtt.publish
service_data:
payload: 3031702755
topic: home/OMqGW_ir_rf/commands/MQTTtoIR
template: icon_button
##################################################
and then when i add a second tab it will be fine like this…
title: loopyloop
icon: mdi:record-player
path: home
cards:
- type: horizontal-stack
cards:
And then i try to add a similar code block for example a button from the first tab, and it just copies the first tab completely when viewing it in any device, (web, android etc)
Any idea’s