198 files

This commit is contained in:
Home Assistant Version Control committed 2026-10-11 23:51:59 +00:00
1 parent 4a64770282
commit 669d229519
198 files changed
+4891 -2815

No files matched your search

@@ -1 +1 @@
const _0x46af5e=_0xa914;(function(_0x82350b,_0x4c2f07){const _0x554710=_0xa914,_0x49c245=_0x82350b();while(!![]){try{const _0x49a917=-parseInt(_0x554710(0x629))/0x1*(-parseInt(_0x554710(0x1a2))/0x2)+parseInt(_0x554710(0xbf3))/0x3+-parseInt(_0x554710(0x426))/0x4*(parseInt(_0x554710(0xced))/0x5)+parseInt(_0x554710(0x7a3))/0x6+-parseInt(_0x554710(0xf6a))/0x7+parseInt(_0x554710(0xcaa))/0x8+-parseInt(_0x554710(0x775))/0x9*(parseInt(_0x554710(0xd19))/0xa);if(_0x49a917===_0x4c2f07)break;else _0x49c245['push'](_0x49c245['shift']());}catch(_0x41cc7b){_0x49c245['push'](_0x49c245['shift']());}}}(_0x5469,0x9a92d));const VERSION=_0x46af5e(0x2b7),INTERVAL_PICKER_OPTIONS=Object[_0x46af5e(0xe00)]([{'hours':0x1,'label':'1H'},{'hours':0x2,'label':'2H'},{'hours':0x4,'label':'4H'},{'hours':0x8,'label':'8H'},{'hours':0xc,'label':'12H'},{'hours':0x18,'label':_0x46af5e(0xf0e)},{'hours':0x48,'label':'3D'},{'hours':0xa8,'label':'7D'},{'hours':0x150,'label':_0x46af5e(0x61f)},{'hours':0x2d0,'label':_0x46af5e(0xbad)},{'hours':0x870,'label':_0x46af5e(0xd7e)},{'hours':0x10e0,'label':'6M'},{'hours':0x2238,'label':'1Y'}]);function intervalLabelForHours(_0x18443a){const _0x247c03=_0x46af5e;if(!isNum(_0x18443a)||_0x18443a<=0x0)return'';const _0x2b3293=INTERVAL_PICKER_OPTIONS[_0x247c03(0x90c)](_0x4e80b8=>_0x4e80b8['hours']===_0x18443a);if(_0x2b3293)return _0x2b3293['label'];if(_0x18443a<0x1)return Math['round'](_0x18443a*0x3c)+'M';if(_0x18443a<0x30)return(Number['isInteger'](_0x18443a)?_0x18443a:Math['round'](_0x18443a*0xa)/0xa)+'H';const _0x19b924=_0x18443a/0x18;return(Number[_0x247c03(0x7e9)](_0x19b924)?_0x19b924:Math[_0x247c03(0x686)](_0x19b924*0xa)/0xa)+'D';}function intervalHoursForLabel(_0x33893e){const _0x26395d=_0x46af5e;if(!_0x33893e||typeof _0x33893e!==_0x26395d(0xade))return null;const _0xc524f7=INTERVAL_PICKER_OPTIONS['find'](_0x30798c=>_0x30798c[_0x26395d(0xf1f)]===_0x33893e[_0x26395d(0xa11)]());return _0xc524f7?_0xc524f7['hours']:null;}const INTERVAL_PICKER_DEFAULT_LABELS=Object['freeze'](['1H','2H','4H','8H',_0x46af5e(0x842),_0x46af5e(0xf0e),'7D']),DATE_PICKER_VALID_MODES=Object[_0x46af5e(0xe00)]([_0x46af5e(0x309),_0x46af5e(0x6f1),_0x46af5e(0xe7d),'year']),CONTROLLER_DATE_PICKER_MODES=Object[_0x46af5e(0xe00)]([...DATE_PICKER_VALID_MODES,'last_1h','last_6h',_0x46af5e(0x606),_0x46af5e(0xf3d),'last_7d',_0x46af5e(0x239)]),DATE_PICKER_RELATIVE_MODES=Object['freeze']({'last_1h':{'hours':0x1,'label':'Last\x201\x20hour','btn':'1H'},'last_6h':{'hours':0x6,'label':'Last\x206\x20hours','btn':'6H'},'last_12h':{'hours':0xc,'label':_0x46af5e(0x6b8),'btn':'12H'},'last_24h':{'hours':0x18,'label':_0x46af5e(0x103b),'btn':_0x46af5e(0xf0e)},'last_3d':{'days':0x3,'label':_0x46af5e(0x43e),'btn':'3D'},'last_7d':{'days':0x7,'label':_0x46af5e(0x6a8),'btn':'7D'},'last_15d':{'days':0xf,'label':_0x46af5e(0xc63),'btn':'15D'},'last_30d':{'days':0x1e,'label':_0x46af5e(0x4f5),'btn':_0x46af5e(0xbad)},'last_90d':{'days':0x5a,'label':_0x46af5e(0xb62),'btn':_0x46af5e(0xd7e)},'last_180d':{'days':0xb4,'label':'Last\x20180\x20days','btn':_0x46af5e(0xfb5)},'last_12m':{'months':0xc,'label':'Last\x2012\x20months','btn':_0x46af5e(0x7e1)},'last_2y':{'months':0x18,'label':'Last\x202\x20years','btn':'2Y'},'last_3y':{'months':0x24,'label':_0x46af5e(0x3cb),'btn':'3Y'},'last_5y':{'months':0x3c,'label':_0x46af5e(0x37d),'btn':'5Y'}}),LIVE_FLUSH_DEBOUNCE_MS=0x3e8,LIVE_SLIDE_INTERVAL_MS=0x7530,NATIVE_AXIS_STYLE=Object[_0x46af5e(0xe00)]({'x_axis_color':_0x46af5e(0x717),'y_axis_color':_0x46af5e(0x717),'x_axis_date_color':_0x46af5e(0x717),'x_axis_font_opacity':0x1,'y_axis_font_opacity':0x1,'x_axis_font_size':0xc,'y_axis_font_size':0xc,'x_grid_color':_0x46af5e(0x390),'y_grid_color':_0x46af5e(0x390),'x_grid_opacity':0x1,'y_grid_opacity':0x1}),CARD_DEFAULTS=Object[_0x46af5e(0xe00)]({'axis_style':_0x46af5e(0x4e7),'card_header':'','card_icon':null,'card_icon_color':null,'card_icon_image':null,'card_header_size':null,'card_background_color':null,'card_shadow':!![],'card_border':!![],'card_padding':null,'card_border_radius':null,'card_border_color':null,'card_border_width':null,'card_background_image':null,'card_background_blur':null,'card_header_color':null,'card_header_weight':null,'card_header_letter_spacing':null,'styles':null,'card_icon_size':null,'card_icon_position':_0x46af5e(0xaaf),'align_header':_0x46af5e(0xaaf),'chart_mode':'timeline','chart_align':'center','sparkline':![],'height':0x96,'animate_graph':![],'brush_zoom':!![],'drill_down':![],'stacked':![],'enable_zoom':!![],'hours_to_show':0x18,'points_per_hour':0x2,'auto_scale_points':![],'group_by':_0x46af5e(0x1a1),'time_zone':_0x46af5e(0x6c8),'language':'auto','update_interval':null,'cache':!![],'graph_start':null,'graph_start_hour':null,'graph_end_hour':null,'year_start_month':null,'show_full_period':![],'max_visible_interval':null,'extended_window_multiplier':null,'scroll_mode':_0x46af5e(0x50e),'show_grid':!![],'show_cell_values':!![],'show_tooltip':!![],'show_tooltip_total':!![],'tooltip_stacked_total':!![],'crosshair':![]Line truncated
const _0x3a4399=_0x54aa;(function(_0x4b18a9,_0x192723){const _0xac3e88=_0x54aa,_0x51e366=_0x4b18a9();while(!![]){try{const _0x5a4a3f=-parseInt(_0xac3e88(0x962))/0x1*(-parseInt(_0xac3e88(0xba0))/0x2)+parseInt(_0xac3e88(0xdcc))/0x3+-parseInt(_0xac3e88(0xa0d))/0x4*(-parseInt(_0xac3e88(0x9d0))/0x5)+-parseInt(_0xac3e88(0xbda))/0x6+parseInt(_0xac3e88(0x6e1))/0x7*(-parseInt(_0xac3e88(0x837))/0x8)+-parseInt(_0xac3e88(0xc9f))/0x9+-parseInt(_0xac3e88(0x147))/0xa*(-parseInt(_0xac3e88(0x26f))/0xb);if(_0x5a4a3f===_0x192723)break;else _0x51e366['push'](_0x51e366['shift']());}catch(_0x2597fb){_0x51e366['push'](_0x51e366['shift']());}}}(_0x3733,0xb02c2));const VERSION=_0x3a4399(0x7cd),INTERVAL_PICKER_OPTIONS=Object[_0x3a4399(0x65f)]([{'hours':0x1,'label':'1H'},{'hours':0x2,'label':'2H'},{'hours':0x4,'label':'4H'},{'hours':0x8,'label':'8H'},{'hours':0xc,'label':_0x3a4399(0xf88)},{'hours':0x18,'label':_0x3a4399(0xdf7)},{'hours':0x48,'label':'3D'},{'hours':0xa8,'label':'7D'},{'hours':0x150,'label':_0x3a4399(0xb6f)},{'hours':0x2d0,'label':_0x3a4399(0x1023)},{'hours':0x870,'label':_0x3a4399(0x27f)},{'hours':0x10e0,'label':'6M'},{'hours':0x2238,'label':'1Y'}]);function intervalLabelForHours(_0x103d34){const _0x57cf64=_0x3a4399;if(!isNum(_0x103d34)||_0x103d34<=0x0)return'';const _0x40ca0f=INTERVAL_PICKER_OPTIONS['find'](_0x379d77=>_0x379d77[_0x57cf64(0xbdb)]===_0x103d34);if(_0x40ca0f)return _0x40ca0f[_0x57cf64(0xddd)];if(_0x103d34<0x1)return Math[_0x57cf64(0x7d9)](_0x103d34*0x3c)+'M';if(_0x103d34<0x30)return(Number[_0x57cf64(0xa11)](_0x103d34)?_0x103d34:Math[_0x57cf64(0x7d9)](_0x103d34*0xa)/0xa)+'H';const _0x3a6405=_0x103d34/0x18;return(Number['isInteger'](_0x3a6405)?_0x3a6405:Math[_0x57cf64(0x7d9)](_0x3a6405*0xa)/0xa)+'D';}function intervalHoursForLabel(_0x482a1b){const _0x248f19=_0x3a4399;if(!_0x482a1b||typeof _0x482a1b!==_0x248f19(0x24d))return null;const _0x4890b6=INTERVAL_PICKER_OPTIONS['find'](_0x21c448=>_0x21c448[_0x248f19(0xddd)]===_0x482a1b['trim']());return _0x4890b6?_0x4890b6[_0x248f19(0xbdb)]:null;}const INTERVAL_PICKER_DEFAULT_LABELS=Object['freeze'](['1H','2H','4H','8H',_0x3a4399(0xf88),_0x3a4399(0xdf7),'7D']),DATE_PICKER_VALID_MODES=Object[_0x3a4399(0x65f)]([_0x3a4399(0x925),_0x3a4399(0x688),_0x3a4399(0xf2b),_0x3a4399(0x855)]),CONTROLLER_DATE_PICKER_MODES=Object[_0x3a4399(0x65f)]([...DATE_PICKER_VALID_MODES,_0x3a4399(0x3aa),_0x3a4399(0x8e4),_0x3a4399(0xaba),_0x3a4399(0x862),_0x3a4399(0xe68),_0x3a4399(0x90d)]),DATE_PICKER_RELATIVE_MODES=Object[_0x3a4399(0x65f)]({'last_1h':{'hours':0x1,'label':_0x3a4399(0xeff),'btn':'1H'},'last_6h':{'hours':0x6,'label':'Last\x206\x20hours','btn':'6H'},'last_12h':{'hours':0xc,'label':'Last\x2012\x20hours','btn':'12H'},'last_24h':{'hours':0x18,'label':_0x3a4399(0xa00),'btn':_0x3a4399(0xdf7)},'last_3d':{'days':0x3,'label':_0x3a4399(0xbcc),'btn':'3D'},'last_7d':{'days':0x7,'label':_0x3a4399(0xf94),'btn':'7D'},'last_15d':{'days':0xf,'label':'Last\x2015\x20days','btn':_0x3a4399(0x369)},'last_30d':{'days':0x1e,'label':_0x3a4399(0x4a0),'btn':'30D'},'last_90d':{'days':0x5a,'label':_0x3a4399(0x8d2),'btn':'90D'},'last_180d':{'days':0xb4,'label':'Last\x20180\x20days','btn':_0x3a4399(0xcd1)},'last_12m':{'months':0xc,'label':'Last\x2012\x20months','btn':'12M'},'last_2y':{'months':0x18,'label':_0x3a4399(0xa61),'btn':'2Y'},'last_3y':{'months':0x24,'label':_0x3a4399(0xa91),'btn':'3Y'},'last_5y':{'months':0x3c,'label':_0x3a4399(0x359),'btn':'5Y'}}),LIVE_FLUSH_DEBOUNCE_MS=0x3e8,LIVE_SLIDE_INTERVAL_MS=0x7530,NATIVE_AXIS_STYLE=Object['freeze']({'x_axis_color':_0x3a4399(0xf02),'y_axis_color':'var(--primary-text-color)','x_axis_date_color':_0x3a4399(0xf02),'x_axis_font_opacity':0x1,'y_axis_font_opacity':0x1,'x_axis_font_size':0xc,'y_axis_font_size':0xc,'x_grid_color':'var(--divider-color)','y_grid_color':_0x3a4399(0x82e),'x_grid_opacity':0x1,'y_grid_opacity':0x1}),CARD_DEFAULTS=Object[_0x3a4399(0x65f)]({'axis_style':'subtle','card_header':'','card_icon':null,'card_icon_color':null,'card_icon_image':null,'card_header_size':null,'card_background_color':null,'card_shadow':!![],'card_border':!![],'card_padding':null,'card_border_radius':null,'card_border_color':null,'card_border_width':null,'card_background_image':null,'card_background_blur':null,'card_header_color':null,'card_header_weight':null,'card_header_letter_spacing':null,'styles':null,'card_icon_size':null,'card_icon_position':'left','align_header':'left','chart_mode':'timeline','chart_align':'center','sparkline':![],'height':0x96,'animate_graph':![],'brush_zoom':!![],'drill_down':![],'stacked':![],'enable_zoom':!![],'hours_to_show':0x18,'points_per_hour':0x2,'auto_scale_points':![],'group_by':_0x3a4399(0xfee),'time_zone':_0x3a4399(0x6b2),'language':_0x3a4399(0x6b2),'update_interval':null,'cache':!![],'graph_start':null,'graph_start_hour':null,'graph_end_hour':null,'year_start_month':null,'show_full_period':![],'max_visible_interval':null,'extended_window_multiplier':null,'scroll_mode':_0x3a4399(0xcce),'show_grid':!![],'show_cell_values':!![],'show_tLine truncated