Fatter arrows

master
Kuba Orlik 4 months ago
parent 98bf7924c8
commit bd181ba7ed

@ -36,7 +36,7 @@ async function with_unit(s: HA_RESPONSE | Promise<HA_RESPONSE>) {
async function arrow(entity: string) {
const number = parseFloat((await get_state(entity)).state);
return number < 0 ? "↓" : number > 0 ? "↑" : "=";
return number < 0 ? "&#x25BC;" : number > 0 ? "&#x25B2;" : "=";
}
export default new (class DashboardPage extends StatefulPage<State, typeof actions> {

Loading…
Cancel
Save