Open smezei opened 2 days ago
it's ok 4 me.
I do not understand what is the problem on my HA.... I restartad the physical machine and the HA too.
/homeassistant/www/community/ha-tsmoon-card/tsmoon-card.js .... var name = "ha-tsmoon-card"; var version = "v0.9.10";
const printVersionToConsole = () => console.info(`%c ${name.toUpperCase()} %c Version ${version} `, 'color: white; font-weight: bold; background: crimson', 'color: #000; font-weight: bold; background: #ddd');
// This puts your card into the UI card picker dialog
window.customCards = window.customCards || [];
window.customCards.push({
type: custom:tsmoon-card
title: Hold
entity: sensor.moon
icon_type: photo
time_format: 24h
language: hu
});
// Print Version to Console
printVersionToConsole();
// Registering card
customElements.define("tsmoon-card", TSMoonCard);
exports.printVersionToConsole = printVersionToConsole;
return exports;
})({});
New info! Maybe not reload the new config in HA?
Language is not hungarian. Config part from /homeassistant/www/community/ha-tsmoon-card/tsmoon-card.js file:
... const printVersionToConsole = () => console.info(
%c ${name.toUpperCase()} %c Version ${version}
, 'color: white; font-weight: bold; background: crimson', 'color: #000; font-weight: bold; background: #ddd'); // This puts your card into the UI card picker dialog window.customCards = window.customCards || []; window.customCards.push({ type: custom:tsmoon-card title: Hold entity: sensor.moon icon_type: photo time_format: 24h language: hu }) ...What is the problem?